Type Alias WalkDir

Source
pub type WalkDir = WalkDir<WalkDir>;
Available on crate feature walkdir only.
Expand description

A platform to create a DirEntryIter from.

Aliased Type§

pub struct WalkDir { /* private fields */ }

Implementations§

Source§

impl WalkDir

Source

pub fn min_depth(self, min: usize) -> Self

Set the minimum component depth of paths of entries.

Source

pub fn max_depth(self, max: usize) -> Self

Set the maximum component depth of paths of entries.

Follow symbolic links.

Trait Implementations§

Source§

impl IntoIterator for WalkDir

Source§

type Item = Result<DirEntry<DirEntry>, Error>

The type of the elements being iterated over.
Source§

type IntoIter = WalkDirIter<IntoIter, DirEntry, Error>

Which kind of iterator are we turning this into?
Source§

fn into_iter(self) -> Self::IntoIter

Creates an iterator from a value. Read more