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§

source

fn build(&mut self) -> Box<dyn ParallelVisitor + 's>

Create per-thread ParallelVisitors for WalkParallel.

Implementations on Foreign Types§

source§

impl<'a, 's, P: ParallelVisitorBuilder<'s>> ParallelVisitorBuilder<'s> for &'a mut P

source§

fn build(&mut self) -> Box<dyn ParallelVisitor + 's>

Implementors§