pub trait ParallelSlice<T>: AsRef<[T]> where
T: Sync, {
fn par_chunk_map<F, R>(
&self,
task_pool: &TaskPool,
chunk_size: usize,
f: F
) -> Vec<R, Global>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
where
F: Fn(&[T]) -> R + Send + Sync,
R: 'static + Send,
{ ... }
fn par_splat_map<F, R>(
&self,
task_pool: &TaskPool,
max_tasks: Option<usize>,
f: F
) -> Vec<R, Global>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
A: Allocator,
where
F: Fn(&[T]) -> R + Send + Sync,
R: 'static + Send,
{ ... }
}