Trait ignore::ParallelVisitor [−][src]
pub trait ParallelVisitor: Send { fn visit(&mut self, entry: Result<DirEntry, Error>) -> WalkState; }
Expand description
Receives files and directories for the current thread.
Setup for the traversal can be implemented as part of
ParallelVisitorBuilder::build
.
Teardown when traversal finishes can be implemented by implementing the
Drop
trait on your traversal type.