Struct JoinAll
#[must_use = "futures do nothing unless you `.await` or poll them"]
pub struct JoinAll<F>
where
F: Future, { /* private fields */ }
Future for the join_all function.
Trait Implementations
impl<F> Debug for JoinAll<F>
where
F: Future + Debug,
F::Output: Debug,
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl<F> Future for JoinAll<F>
where
F: Future,
type Output = Vec<<F as Future>::Output>;fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Self::Output>
impl<F: Future> FromIterator<F> for JoinAll<F>
fn from_iter<T: IntoIterator<Item = F>>(iter: T) -> Self
Auto Trait Implementations
impl<F> !Freeze for JoinAll<F>
impl<F> !RefUnwindSafe for JoinAll<F>
impl<F> !UnwindSafe for JoinAll<F>
impl<F> Send for JoinAll<F>
where
JoinAllKind<F>: Send,
impl<F> Sync for JoinAll<F>
where
JoinAllKind<F>: Sync,
impl<F> Unpin for JoinAll<F>
where
JoinAllKind<F>: Unpin,
impl<F> UnsafeUnpin for JoinAll<F>
where
JoinAllKind<F>: UnsafeUnpin,
Blanket Implementations
impl<F> IntoFuture for JoinAll<F>
where
F: Future,
type Output = <F as Future>::Output;type IntoFuture = F;fn into_future(self) -> <F as IntoFuture>::IntoFuture
impl<T> Any for JoinAll<F>
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for JoinAll<F>
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for JoinAll<F>
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> From<T> for JoinAll<F>
fn from(t: T) -> TReturns the argument unchanged.
impl<T> FutureExt for JoinAll<F>
where
T: Future + ?Sized,
impl<T, U> Into<U> for JoinAll<F>
where
U: From<T>,
fn into(self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom<U> for JoinAll<F>
where
U: Into<T>,
type Error = never;fn try_from(value: U) -> Result<T, never>
impl<T, U> TryInto<U> for JoinAll<F>
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>