pub enum WalkError {
Io {
path: PathBuf,
source: Error,
},
Unsupported {
feature: &'static str,
path: PathBuf,
},
}Variants§
Trait Implementations§
Source§impl Error for WalkError
impl Error for WalkError
1.30.0 · 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