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 TLwhere F: Send + Clone + 'static + Fn(T) -> Result<R, ()>, T: Send + 'static, TL: Send + IntoIterator<Item = T> + 'static, R: Send + 'static,