Struct futures_concurrency::vec::Join
source · [−]pub struct Join<Fut>where
Fut: Future,{ /* private fields */ }
Expand description
Waits for two similarly-typed futures to complete.
Awaits multiple futures simultaneously, returning the output of the futures once both complete.
Trait Implementations
Auto Trait Implementations
impl<Fut> RefUnwindSafe for Join<Fut>where
Fut: RefUnwindSafe,
<Fut as Future>::Output: RefUnwindSafe,
impl<Fut> Send for Join<Fut>where
Fut: Send,
<Fut as Future>::Output: Send,
impl<Fut> Sync for Join<Fut>where
Fut: Sync,
<Fut as Future>::Output: Sync,
impl<Fut> Unpin for Join<Fut>
impl<Fut> UnwindSafe for Join<Fut>where
Fut: UnwindSafe,
<Fut as Future>::Output: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<F> IntoFuture for Fwhere
F: Future,
impl<F> IntoFuture for Fwhere
F: Future,
type IntoFuture = F
type IntoFuture = F
Which kind of future are we turning this into?
sourcefn into_future(self) -> <F as IntoFuture>::IntoFuture
fn into_future(self) -> <F as IntoFuture>::IntoFuture
Creates a future from a value. Read more