Type Alias glob::GlobResult

source ·
pub type GlobResult = Result<PathBuf, GlobError>;
Expand description

An alias for a glob iteration result.

This represents either a matched path or a glob iteration error, such as failing to read a particular directory’s contents.

Aliased Type§

enum GlobResult {
    Ok(PathBuf),
    Err(GlobError),
}

Variants§

§1.0.0

Ok(PathBuf)

Contains the success value

§1.0.0

Err(GlobError)

Contains the error value