Struct GlobError
pub struct GlobError { /* private fields */ }
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
fn path(&self) -> &PathThe Path that the error corresponds to.
fn error(&self) -> &ErrorThe error in question.
fn into_error(self) -> ErrorConsumes self, returning the raw underlying
io::Error
Trait Implementations
impl Debug for GlobError
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Display for GlobError
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Error for GlobError
fn description(&self) -> &strfn cause(&self) -> Option<&dyn Error>