pub enum ErrorKind {
NotFound,
PermissionDenied,
AlreadyExists,
Interrupted,
InvalidFolder,
InvalidFile,
InvalidFileName,
InvalidPath,
Io(Error),
StripPrefix(StripPrefixError),
OsString(OsString),
Other,
}
Expand description
A list specifying general categories of fs_extra error.
Variants§
NotFound
An entity was not found.
PermissionDenied
The operation lacked the necessary privileges to complete.
AlreadyExists
An entity already exists.
Interrupted
This operation was interrupted.
InvalidFolder
Path does not a directory.
InvalidFile
Path does not a file.
InvalidFileName
Invalid file name.
InvalidPath
Invalid path.
Io(Error)
Any I/O error.
StripPrefix(StripPrefixError)
Any StripPrefix error.
OsString(OsString)
Any OsString error.
Other
Any fs_extra error not part of this list.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ErrorKind
impl !RefUnwindSafe for ErrorKind
impl Send for ErrorKind
impl Sync for ErrorKind
impl Unpin for ErrorKind
impl !UnwindSafe for ErrorKind
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