pub enum Reason {
UnknownFileSystem,
UnsupportedOperation,
FileNotFound,
FileAlreadyExists,
FileContentNotUTF8,
Other,
}Expand description
The reason for a path operation error.
Variants§
UnknownFileSystem
The file system could not be resolved for the path.
UnsupportedOperation
The file system does not support the operation.
FileNotFound
The file was not found.
FileAlreadyExists
The file already exists.
FileContentNotUTF8
The file content was not properly encoded UTF-8.
Other
Another uncategorized reason.
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