pub struct AllOf<'s, C: ?Sized + Config, J: Joinable<C>> { /* private fields */ }Expand description
A combinator for awaiting the completion of multiple futures.
This utility allows you to combine multiple IntoFuture futures into a
single future that resolves only after all input futures have completed.
§Safety Warning
Implementations§
Trait Implementations§
Source§impl<C: ?Sized + Config, J: Joinable<C>> Future for AllOf<'_, C, J>where
J::Output: Flatten,
impl<C: ?Sized + Config, J: Joinable<C>> Future for AllOf<'_, C, J>where
J::Output: Flatten,
impl<'pin, 's, C: ?Sized + Config, J: Joinable<C>> Unpin for AllOf<'s, C, J>where
PinnedFieldsOf<__AllOf<'pin, 's, C, J>>: Unpin,
Auto Trait Implementations§
impl<'s, C, J> !Freeze for AllOf<'s, C, J>
impl<'s, C, J> !RefUnwindSafe for AllOf<'s, C, J>
impl<'s, C, J> !Send for AllOf<'s, C, J>
impl<'s, C, J> !Sync for AllOf<'s, C, J>
impl<'s, C, J> !UnwindSafe for AllOf<'s, C, J>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<F> IntoFuture for Fwhere
F: Future,
impl<F> IntoFuture for Fwhere
F: Future,
Source§type IntoFuture = F
type IntoFuture = F
Which kind of future are we turning this into?
Source§fn into_future(self) -> <F as IntoFuture>::IntoFuture
fn into_future(self) -> <F as IntoFuture>::IntoFuture
Creates a future from a value. Read more