pub struct GlobError { /* private fields */ }
Expand description
A glob iteration error.
This is typically returned when a particular path cannot be read to determine if its contents match the glob pattern. This is possible if the program lacks the appropriate permissions, for example.
Implementations
Trait Implementations
sourceimpl Error for GlobError
impl Error for GlobError
sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
sourcefn cause(&self) -> Option<&dyn Error>
fn cause(&self) -> Option<&dyn Error>
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
Auto Trait Implementations
impl !RefUnwindSafe for GlobError
impl Send for GlobError
impl Sync for GlobError
impl Unpin for GlobError
impl !UnwindSafe for GlobError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more