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]
pub fn path(&self) -> &Path
[src]
The Path that the error corresponds to.
pub fn error(&self) -> &Error
[src]
The error in question.
Trait Implementations
impl Debug for GlobError
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Error for GlobError
[src]
fn description(&self) -> &str
[src]
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
[src]
The lower-level cause of this error, if any. Read more