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