Struct futures_util::future::Join4 [−][src]
#[must_use = "futures do nothing unless polled"]pub struct Join4<Fut1: Future, Fut2: Future, Fut3: Future, Fut4: Future> { /* fields omitted */ }
Future for the join4
combinator, waiting for four futures to
complete.
This is created by the Future::join4
method.
Trait Implementations
impl<Fut1, Fut2, Fut3, Fut4> Debug for Join4<Fut1, Fut2, Fut3, Fut4> where
Fut1: Future + Debug,
Fut1::Output: Debug,
Fut2: Future + Debug,
Fut2::Output: Debug,
Fut3: Future + Debug,
Fut3::Output: Debug,
Fut4: Future + Debug,
Fut4::Output: Debug,
[src]
impl<Fut1, Fut2, Fut3, Fut4> Debug for Join4<Fut1, Fut2, Fut3, Fut4> where
Fut1: Future + Debug,
Fut1::Output: Debug,
Fut2: Future + Debug,
Fut2::Output: Debug,
Fut3: Future + Debug,
Fut3::Output: Debug,
Fut4: Future + Debug,
Fut4::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, Fut3: Future, Fut4: Future> Future for Join4<Fut1, Fut2, Fut3, Fut4>
[src]
impl<Fut1: Future, Fut2: Future, Fut3: Future, Fut4: Future> Future for Join4<Fut1, Fut2, Fut3, Fut4>
type Output = (Fut1::Output, Fut2::Output, Fut3::Output, Fut4::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
Auto Trait Implementations
impl<Fut1, Fut2, Fut3, Fut4> Send for Join4<Fut1, Fut2, Fut3, Fut4> where
Fut1: Send,
Fut2: Send,
Fut3: Send,
Fut4: Send,
<Fut1 as Future>::Output: Send,
<Fut2 as Future>::Output: Send,
<Fut3 as Future>::Output: Send,
<Fut4 as Future>::Output: Send,
impl<Fut1, Fut2, Fut3, Fut4> Send for Join4<Fut1, Fut2, Fut3, Fut4> where
Fut1: Send,
Fut2: Send,
Fut3: Send,
Fut4: Send,
<Fut1 as Future>::Output: Send,
<Fut2 as Future>::Output: Send,
<Fut3 as Future>::Output: Send,
<Fut4 as Future>::Output: Send,
impl<Fut1, Fut2, Fut3, Fut4> Sync for Join4<Fut1, Fut2, Fut3, Fut4> where
Fut1: Sync,
Fut2: Sync,
Fut3: Sync,
Fut4: Sync,
<Fut1 as Future>::Output: Sync,
<Fut2 as Future>::Output: Sync,
<Fut3 as Future>::Output: Sync,
<Fut4 as Future>::Output: Sync,
impl<Fut1, Fut2, Fut3, Fut4> Sync for Join4<Fut1, Fut2, Fut3, Fut4> where
Fut1: Sync,
Fut2: Sync,
Fut3: Sync,
Fut4: Sync,
<Fut1 as Future>::Output: Sync,
<Fut2 as Future>::Output: Sync,
<Fut3 as Future>::Output: Sync,
<Fut4 as Future>::Output: Sync,