pub enum FsIterError {
WalkDir(Error),
Metadata(PathBuf, Error),
FsEntryError(FsEntryError),
}Expand description
Possible errors from iterating over a directory tree.
Variants§
WalkDir(Error)
Error from the walkdir crate.
Metadata(PathBuf, Error)
Error reading a file’s metadata.
FsEntryError(FsEntryError)
Error related to file system entries.
Trait Implementations§
Source§impl Debug for FsIterError
impl Debug for FsIterError
Source§impl Display for FsIterError
impl Display for FsIterError
Source§impl Error for FsIterError
impl Error for FsIterError
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()
Source§impl From<FsEntryError> for FsIterError
impl From<FsEntryError> for FsIterError
Source§fn from(source: FsEntryError) -> Self
fn from(source: FsEntryError) -> Self
Converts to this type from the input type.
Source§impl From<FsIterError> for BackupError
impl From<FsIterError> for BackupError
Source§fn from(source: FsIterError) -> Self
fn from(source: FsIterError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for FsIterError
impl !RefUnwindSafe for FsIterError
impl Send for FsIterError
impl Sync for FsIterError
impl Unpin for FsIterError
impl !UnwindSafe for FsIterError
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