pub enum FsIOError {
PathAlreadyExists(String),
NotFile(String),
IOError(String, Option<Error>),
SystemTimeError(String, Option<SystemTimeError>),
}Expand description
Holds the error information
Variants§
PathAlreadyExists(String)
Path already exist error type
NotFile(String)
Not a file error type
IOError(String, Option<Error>)
IO error type
SystemTimeError(String, Option<SystemTimeError>)
System time error type
Trait Implementations§
Source§impl Error for FsIOError
impl Error for FsIOError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for FsIOError
impl !RefUnwindSafe for FsIOError
impl Send for FsIOError
impl Sync for FsIOError
impl Unpin for FsIOError
impl !UnwindSafe for FsIOError
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