PipelineMap

Trait PipelineMap 

Source
pub trait PipelineMap<I, M>
where I: Iterator, I::Item: Send + 'static, M: Mapper<I::Item> + Clone + Send + 'static, M::Out: Send + 'static,
{ // Required method fn plmap(self, n_workers: usize, m: M) -> Pipeline<I, M> ; }
Expand description

PipelineMap can be imported to add the plmap function to iterators.

Required Methods§

Source

fn plmap(self, n_workers: usize, m: M) -> Pipeline<I, M>

Implementors§

Source§

impl<I, M> PipelineMap<I, M> for I
where I: Iterator, <I as Iterator>::Item: Send + 'static, M: Mapper<I::Item> + Clone + Send + 'static, <M as Mapper<I::Item>>::Out: Send + 'static,