Skip to main content

ParallelCollectCombinedResult

Trait ParallelCollectCombinedResult 

Source
pub trait ParallelCollectCombinedResult {
    type Item;

    // Required method
    fn collect_combined_result<B>(self) -> Result<B, EcoVec<SourceDiagnostic>>
       where B: FromIterator<Self::Item>;
}
Expand description

A variation of CollectCombinedResult for parallel rayon iterators.

Needs to be a separate trait because we can’t have two blanket impls.

Required Associated Types§

Required Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§