Struct futures_concurrency::tuple::Join2 [−][src]
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<A, B> RefUnwindSafe for Join2<A, B> where
A: RefUnwindSafe,
B: RefUnwindSafe,
<A as Future>::Output: RefUnwindSafe,
<B as Future>::Output: RefUnwindSafe,
impl<A, B> Send for Join2<A, B> where
A: Send,
B: Send,
<A as Future>::Output: Send,
<B as Future>::Output: Send,
impl<A, B> Sync for Join2<A, B> where
A: Sync,
B: Sync,
<A as Future>::Output: Sync,
<B as Future>::Output: Sync,
impl<A, B> UnwindSafe for Join2<A, B> where
A: UnwindSafe,
B: UnwindSafe,
<A as Future>::Output: UnwindSafe,
<B as Future>::Output: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (
into_future
)The output that the future will produce on completion.
type Future = F
type Future = F
🔬 This is a nightly-only experimental API. (
into_future
)Which kind of future are we turning this into?
🔬 This is a nightly-only experimental API. (
into_future
)Creates a future from a value.