Trait future_iter::join_set::IntoJoinSet

source ·
pub trait IntoJoinSet: Iterator {
    // Provided methods
    fn into_join_set<T>(self) -> JoinSet<T>
       where Self: Sized,
             Self::Item: Future<Output = T> + Send + 'static,
             T: Send + 'static { ... }
    fn into_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 into_join_set<T>(self) -> JoinSet<T>
where Self: Sized, Self::Item: Future<Output = T> + Send + 'static, T: Send + 'static,

source

fn into_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> IntoJoinSet for T
where T: Iterator + ?Sized,