IntoJoinSet

Trait IntoJoinSet 

Source
pub trait IntoJoinSet<F, T>: IntoIterator
where Self: Sized, <Self as IntoIterator>::Item: Future<Output = T> + Send + 'static, F: Future<Output = T> + Send + 'static, T: Send + 'static,
{ // Provided method fn into_join_set(self) -> JoinSet<T> { ... } }

Provided Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl<F, T> IntoJoinSet<F, T> for Vec<F>
where F: Future<Output = T> + Send + 'static, T: Send + 'static,

Implementors§