Trait future_iter::join_set::JoinSetFromIter

source ·
pub trait JoinSetFromIter: Iterator {
    // Provided methods
    fn join_set<T>(self) -> JoinSet<T>
       where Self: Sized,
             Self::Item: Future<Output = T> + Send + 'static,
             T: Send + 'static { ... }
    fn join_set_by<T, F, M>(self, f: M) -> JoinSet<T>
       where Self: Sized,
             Self::Item: Send + 'static,
             F: Future<Output = T> + Send + 'static,
             T: Send + 'static,
             M: FnMut(Self::Item) -> F { ... }
}

Provided Methods§

source

fn join_set<T>(self) -> JoinSet<T>
where Self: Sized, Self::Item: Future<Output = T> + Send + 'static, T: Send + 'static,

source

fn join_set_by<T, F, M>(self, f: M) -> JoinSet<T>
where Self: Sized, Self::Item: Send + 'static, F: Future<Output = T> + Send + 'static, T: Send + 'static, M: FnMut(Self::Item) -> F,

Implementors§

source§

impl<T> JoinSetFromIter for T
where T: Iterator + ?Sized,