pub enum Reason {
UnknownFileSystem,
OperationNotSupported,
FileNotFound,
FileAlreadyExists,
Other,
}
Expand description
The reason for a file or folder operation error.
Variants§
UnknownFileSystem
The file system for the path could not be resolved.
OperationNotSupported
The file system does not support the operation.
FileNotFound
The file was not found. (this can also mean unauthorized)
FileAlreadyExists
The file already exists.
Other
Another uncategorized error.
Trait Implementations§
Source§impl Ord for Reason
impl Ord for Reason
Source§impl PartialOrd for Reason
impl PartialOrd for Reason
impl Copy for Reason
impl Eq for Reason
impl StructuralPartialEq for Reason
Auto Trait Implementations§
impl Freeze for Reason
impl RefUnwindSafe for Reason
impl Send for Reason
impl Sync for Reason
impl Unpin for Reason
impl UnwindSafe for Reason
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