Trait rayon::par_iter::internal::Folder [] [src]

pub trait Folder<Item> {
    type Result;
    fn consume(self, item: Item) -> Self;
    fn complete(self) -> Self::Result;

    fn full(&self) -> bool { ... }
}

Associated Types

Required Methods

Consume next item and return new sequential state.

Finish consuming items, produce final result.

Provided Methods

Hint whether this Folder would like to stop processing further items, e.g. if a search has been completed.

Implementors