Trait futures_concurrency::Join[][src]

pub trait Join {
    type Output;
    type Future: Future<Output = Self::Output>;
    fn join(self) -> Self::Future;
}
Expand description

Wait for multiple futures to complete.

Awaits multiple futures simultaneously, returning the output of the futures once both complete.

Associated Types

The resulting output type.

The resulting joined future.

Required methods

Waits for multiple futures to complete.

Awaits multiple futures simultaneously, returning the output of the futures once both complete.

This function returns a new future which polls both futures concurrently.

Implementations on Foreign Types

Implementors