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§
fn collect_combined_result<B>(self) -> Result<B, EcoVec<SourceDiagnostic>>where
B: FromIterator<Self::Item>,
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".