pub enum OperationError {
AlreadyOpen,
NotFound,
NotFile,
NotDirectory,
AlreadyExists,
DirectoryNotEmpty,
EOF,
}
Variants§
AlreadyOpen
File or directory already open
NotFound
File or directory not found
NotFile
Not a file
NotDirectory
Not a directory
AlreadyExists
File or directory already exists
DirectoryNotEmpty
Directory not empty when deleting
EOF
End of file
Trait Implementations§
Source§impl Display for OperationError
impl Display for OperationError
Source§impl<E> From<OperationError> for Error<E>
impl<E> From<OperationError> for Error<E>
Source§fn from(e: OperationError) -> Self
fn from(e: OperationError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for OperationError
impl RefUnwindSafe for OperationError
impl Send for OperationError
impl Sync for OperationError
impl Unpin for OperationError
impl UnwindSafe for OperationError
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