pub enum NativeRunError {
Walk {
path: PathBuf,
source: Error,
},
Read {
path: PathBuf,
source: Error,
},
Glob(GlobError),
}Expand description
What a directory run can fail on.
Variants§
Walk
Listing a directory failed.
Read
Reading a routed file failed.
Glob(GlobError)
A glob did not compile.
Trait Implementations§
Source§impl Debug for NativeRunError
impl Debug for NativeRunError
Source§impl Display for NativeRunError
impl Display for NativeRunError
Source§impl Error for NativeRunError
impl Error for NativeRunError
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 NativeRunError
impl !UnwindSafe for NativeRunError
impl Freeze for NativeRunError
impl Send for NativeRunError
impl Sync for NativeRunError
impl Unpin for NativeRunError
impl UnsafeUnpin for NativeRunError
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