[][src]Struct futures_util::future::Join

#[must_use = "futures do nothing unless polled"]
pub struct Join<Fut1: Future, Fut2: Future> { /* fields omitted */ }

Future for the join combinator, waiting for two futures to complete.

This is created by the Future::join method.

Trait Implementations

impl<Fut1, Fut2> Debug for Join<Fut1, Fut2> where
    Fut1: Future + Debug,
    Fut1::Output: Debug,
    Fut2: Future + Debug,
    Fut2::Output: Debug
[src]

Formats the value using the given formatter. Read more

impl<Fut1: Future, Fut2: Future> Future for Join<Fut1, Fut2>
[src]

🔬 This is a nightly-only experimental API. (futures_api)

futures in libcore are unstable

The result of the Future.

🔬 This is a nightly-only experimental API. (futures_api)

futures in libcore are unstable

Attempt to resolve the future to a final value, registering the current task for wakeup if the value is not yet available. Read more

Auto Trait Implementations

impl<Fut1, Fut2> Send for Join<Fut1, Fut2> where
    Fut1: Send,
    Fut2: Send,
    <Fut1 as Future>::Output: Send,
    <Fut2 as Future>::Output: Send

impl<Fut1, Fut2> Sync for Join<Fut1, Fut2> where
    Fut1: Sync,
    Fut2: Sync,
    <Fut1 as Future>::Output: Sync,
    <Fut2 as Future>::Output: Sync