Enum ignore::WalkState [−][src]
pub enum WalkState { Continue, Skip, Quit, }
Expand description
WalkState is used in the parallel recursive directory iterator to indicate whether walking should continue as normal, skip descending into a particular directory or quit the walk entirely.
Variants
Continue walking as normal.
If the directory entry given is a directory, don’t descend into it. In all other cases, this has no effect.
Quit the entire iterator as soon as possible.
Note that this is an inherently asynchronous action. It is possible for more entries to be yielded even after instructing the iterator to quit.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for WalkState
impl UnwindSafe for WalkState
Blanket Implementations
Mutably borrows from an owned value. Read more