Struct glob::GlobError
[−]
[src]
pub struct GlobError { /* fields omitted */ }
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 permissions, for example.
Methods
impl GlobError
[src]
fn path(&self) -> &Path
The Path that the error corresponds to.
fn error(&self) -> &Error
The error in question.
Trait Implementations
impl Debug for GlobError
[src]
impl Error for GlobError
[src]
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
The lower-level cause of this error, if any. Read more