Trait ignore::ParallelVisitorBuilder
source · pub trait ParallelVisitorBuilder<'s> {
// Required method
fn build(&mut self) -> Box<dyn ParallelVisitor + 's>;
}
Expand description
A builder for constructing a visitor when using WalkParallel::visit
.
The builder will be called for each thread started by WalkParallel
. The
visitor returned from each builder is then called for every directory
entry.
Required Methods§
sourcefn build(&mut self) -> Box<dyn ParallelVisitor + 's>
fn build(&mut self) -> Box<dyn ParallelVisitor + 's>
Create per-thread ParallelVisitor
s for WalkParallel
.