Enum ignore::WalkState [−][src]
pub enum WalkState { Continue, Skip, Quit, }
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
Continue walking as normal.
Skip
If the directory entry given is a directory, don't descend into it. In all other cases, this has no effect.
Quit
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
impl Clone for WalkState
[src]
impl Clone for WalkState
fn clone(&self) -> WalkState
[src]
fn clone(&self) -> WalkState
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Copy for WalkState
[src]
impl Copy for WalkState
impl Debug for WalkState
[src]
impl Debug for WalkState
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Eq for WalkState
[src]
impl Eq for WalkState
impl PartialEq for WalkState
[src]
impl PartialEq for WalkState