pub enum FileSystemError {
Show 23 variants
PathDoesNotExist,
PathIsNotSymlink,
CreateFile,
CreateSymlink,
NoAncestorPath,
OpenFile,
AppendFile,
NonWritablePath,
NonReadablePath,
NonExecutablePath,
WriteFile,
WriteFlush,
SetMode,
MoveFile,
ReadFile,
DeleteFile,
DeleteDirectory,
UnexpectedPathType,
AbsolutePath,
CanonicalPath,
ReadSymlink,
CreateDirectory,
UnsafeFileContent,
}Variants§
PathDoesNotExist
PathIsNotSymlink
CreateFile
CreateSymlink
NoAncestorPath
OpenFile
AppendFile
NonWritablePath
NonReadablePath
NonExecutablePath
WriteFile
WriteFlush
SetMode
MoveFile
ReadFile
DeleteFile
DeleteDirectory
UnexpectedPathType
AbsolutePath
CanonicalPath
ReadSymlink
CreateDirectory
UnsafeFileContent
Implementations§
Trait Implementations§
Source§impl Clone for FileSystemError
impl Clone for FileSystemError
Source§fn clone(&self) -> FileSystemError
fn clone(&self) -> FileSystemError
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FileSystemError
impl Debug for FileSystemError
Source§impl Display for FileSystemError
impl Display for FileSystemError
Source§impl Into<FileSystemError> for FileSystemException
impl Into<FileSystemError> for FileSystemException
Source§fn into(self) -> FileSystemError
fn into(self) -> FileSystemError
Converts this type into the (usually inferred) input type.
impl Copy for FileSystemError
Auto Trait Implementations§
impl Freeze for FileSystemError
impl RefUnwindSafe for FileSystemError
impl Send for FileSystemError
impl Sync for FileSystemError
impl Unpin for FileSystemError
impl UnwindSafe for FileSystemError
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