pub enum FileError {
NotFound,
Denied,
Unsupported,
Failed,
}Expand description
Why a file could not be read or written.
Variants§
NotFound
There is no file by that name.
Denied
The host does not let the program use that file.
Unsupported
The host has no files.
Failed
Anything else, such as a full disk.
Trait Implementations§
impl Copy for FileError
impl Eq for FileError
impl StructuralPartialEq for FileError
Auto Trait Implementations§
impl Forget for FileError
impl Freeze for FileError
impl Move for FileError
impl RefUnwindSafe for FileError
impl Send for FileError
impl Sync for FileError
impl Unpin for FileError
impl UnsafeUnpin 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