pub enum AccumulateError {
CurrentDirectory(Error),
Inspect {
path: PathBuf,
source: Error,
},
List {
path: PathBuf,
source: Error,
},
Directory {
path: PathBuf,
},
NonRegular {
path: PathBuf,
},
}Expand description
A filesystem failure during discovery. Paths are structured diagnostic data.
Variants§
CurrentDirectory(Error)
The working directory could not be obtained for a relative base.
Inspect
Metadata could not be read (symlinks are followed).
List
A directory or one of its entries could not be read.
Directory
The named target is a directory.
NonRegular
The named target is neither a directory nor a regular file.
Trait Implementations§
Source§impl Debug for AccumulateError
impl Debug for AccumulateError
Source§impl Display for AccumulateError
impl Display for AccumulateError
Source§impl Error for AccumulateError
impl Error for AccumulateError
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 !RefUnwindSafe for AccumulateError
impl !UnwindSafe for AccumulateError
impl Freeze for AccumulateError
impl Send for AccumulateError
impl Sync for AccumulateError
impl Unpin for AccumulateError
impl UnsafeUnpin for AccumulateError
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