pub struct WalkError {
pub path: PathBuf,
pub op: WalkOp,
pub source: Error,
}Expand description
A filesystem error encountered during traversal (always reported, never swallowed).
Fields§
§path: PathBufPath the operation targeted.
op: WalkOpOperation class.
source: ErrorUnderlying I/O error.
Implementations§
Trait Implementations§
Source§impl Error for WalkError
impl Error for WalkError
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 WalkError
impl !UnwindSafe for WalkError
impl Freeze for WalkError
impl Send for WalkError
impl Sync for WalkError
impl Unpin for WalkError
impl UnsafeUnpin for WalkError
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