Struct Paths
pub struct Paths { /* private fields */ }
An iterator that yields Paths from the filesystem that match a particular
pattern.
Note that it yields GlobResult in order to report any IoErrors that may
arise during iteration. If a directory matches but is unreadable,
thereby preventing its contents from being checked for matches, a
GlobError is returned to express this.
See the glob function for more details.
Trait Implementations
impl Debug for Paths
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Iterator for Paths
type Item = Result<PathBuf, GlobError>;fn next(&mut self) -> Option<GlobResult>