Struct futures::future::Join [] [src]

#[must_use = "futures do nothing unless polled"]
pub struct Join<A, B> where
    A: Future,
    B: Future<Error = <A as Future>::Error>, 
{ /* fields omitted */ }

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

This is created by the Future::join method.

Trait Implementations

impl<A, B> Future for Join<A, B> where
    A: Future,
    B: Future<Error = <A as Future>::Error>, 
[src]

A successful value

An error

[src]

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

impl<A, B> Debug for Join<A, B> where
    A: Future + Debug,
    B: Future<Error = <A as Future>::Error> + Debug,
    <A as Future>::Item: Debug,
    <B as Future>::Item: Debug
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<A, B> Send for Join<A, B> where
    A: Send,
    B: Send,
    <A as Future>::Item: Send,
    <B as Future>::Item: Send

impl<A, B> Sync for Join<A, B> where
    A: Sync,
    B: Sync,
    <A as Future>::Item: Sync,
    <B as Future>::Item: Sync