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]
impl GlobErrorpub fn path(&self) -> &Path[src]
pub fn path(&self) -> &PathThe Path that the error corresponds to.
pub fn error(&self) -> &Error[src]
pub fn error(&self) -> &ErrorThe error in question.
Trait Implementations
impl Debug for GlobError[src]
impl Debug for GlobErrorfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Error for GlobError[src]
impl Error for GlobErrorfn description(&self) -> &str[src]
fn description(&self) -> &strThis method is soft-deprecated. Read more
fn cause(&self) -> Option<&Error>[src]
fn cause(&self) -> Option<&Error>The lower-level cause of this error, if any. Read more
impl Display for GlobError[src]
impl Display for GlobError