Struct glob::GlobError [−][src]
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
impl GlobError
[src]
pub fn path(&self) -> &Path
[src]
The Path that the error corresponds to.
pub fn error(&self) -> &Error
[src]
The error in question.
pub fn into_error(self) -> Error
[src]
Consumes self, returning the raw underlying io::Error
Trait Implementations
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
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,