Trait pipeliner::Pipeline

source ·
pub trait Pipeline<I>where
    I: Iterator + Send + 'static,
    I::Item: Send + 'static,
{ fn with_threads(self, num_threads: usize) -> PipelineBuilder<I>; }
Expand description

Things which implement this can be used with the Pipeliner library.

Required Methods

Returns an PipelineBuilder that will execute using this many threads, and 0 buffering.

Implementors

IntoIterators (and Iterators!) can be used as a Pipeline.