Struct futures::future::Join [−][src]
#[must_use = "futures do nothing unless polled"]pub struct Join<Fut1, Fut2> where
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,
Fut2: Future + Debug,
<Fut1 as Future>::Output: Debug,
<Fut2 as Future>::Output: Debug, [src]
impl<Fut1, Fut2> Debug for Join<Fut1, Fut2> where
Fut1: Future + Debug,
Fut2: Future + Debug,
<Fut1 as Future>::Output: Debug,
<Fut2 as Future>::Output: Debug, fn fmt(&self, fmt: &mut Formatter) -> Result<(), Error>[src]
fn fmt(&self, fmt: &mut Formatter) -> Result<(), Error>Formats the value using the given formatter. Read more
impl<Fut1, Fut2> Future for Join<Fut1, Fut2> where
Fut1: Future,
Fut2: Future, [src]
impl<Fut1, Fut2> Future for Join<Fut1, Fut2> where
Fut1: Future,
Fut2: Future, type Output = (<Fut1 as Future>::Output, <Fut2 as Future>::Output)
🔬 This is a nightly-only experimental API. (futures_api)
futures in libcore are unstable
The result of the Future.
fn poll(
self: PinMut<Join<Fut1, Fut2>>,
cx: &mut Context
) -> Poll<<Join<Fut1, Fut2> as Future>::Output>[src]
fn poll(
self: PinMut<Join<Fut1, Fut2>>,
cx: &mut Context
) -> Poll<<Join<Fut1, Fut2> as Future>::Output>🔬 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