pub enum FileError {
NotFound,
EndOfFile,
Error(Error),
}
Expand description
An error that can occur when interacting with the file system.
Variants§
NotFound
The file was not found.
EndOfFile
The read operation reached the end of the file.
Error(Error)
An I/O error occurred.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FileError
impl !RefUnwindSafe for FileError
impl Send for FileError
impl Sync for FileError
impl Unpin for FileError
impl !UnwindSafe for FileError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more