Trait IntoParallelIteratorAsync

Source
pub trait IntoParallelIteratorAsync<R, T, TL, F>
where F: Send + Clone + 'static + Fn(T) -> Result<R, ()>, T: Send + 'static, TL: Send + IntoIterator<Item = T> + 'static, R: Send,
{ // Required method fn into_par_iter_async(self, func: F) -> ParIterAsync<R> ; }
Expand description

This trait implement the async version of IntoParallelIteratorSync

Required Methods§

Source

fn into_par_iter_async(self, func: F) -> ParIterAsync<R>

An asynchronous equivalent of into_par_iter_sync

Implementors§

Source§

impl<R, T, TL, F> IntoParallelIteratorAsync<R, T, TL, F> for TL
where F: Send + Clone + 'static + Fn(T) -> Result<R, ()>, T: Send + 'static, TL: Send + IntoIterator<Item = T> + 'static, R: Send + 'static,