pub trait SharedExt: ParallelIterator {
// Required method
fn par_fold_reduce<Acc, Id, F, R>(
self,
identity: Id,
fold_op: F,
reduce_op: R,
) -> Acc
where Acc: Send,
Id: Fn() -> Acc + Sync + Send,
F: Fn(Acc, Self::Item) -> Acc + Sync + Send,
R: Fn(Acc, Acc) -> Acc + Sync + Send;
}
Required Methods§
fn par_fold_reduce<Acc, Id, F, R>( self, identity: Id, fold_op: F, reduce_op: R, ) -> Acc
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.