[−][src]Struct futures_util::try_future::TryJoin4
#[must_use = "futures do nothing unless polled"]pub struct TryJoin4<Fut1: TryFuture, Fut2: TryFuture, Fut3: TryFuture, Fut4: TryFuture> { /* fields omitted */ }
Future for the try_join4
combinator, waiting for four futures to
complete or for one to error.
This is created by the TryFuture::try_join4
method.
Trait Implementations
impl<Fut1, Fut2, Fut3, Fut4> Debug for TryJoin4<Fut1, Fut2, Fut3, Fut4> where
Fut1: TryFuture + Debug,
Fut1::Ok: Debug,
Fut1::Error: Debug,
Fut2: TryFuture + Debug,
Fut2::Ok: Debug,
Fut2::Error: Debug,
Fut3: TryFuture + Debug,
Fut3::Ok: Debug,
Fut3::Error: Debug,
Fut4: TryFuture + Debug,
Fut4::Ok: Debug,
Fut4::Error: Debug,
[src]
impl<Fut1, Fut2, Fut3, Fut4> Debug for TryJoin4<Fut1, Fut2, Fut3, Fut4> where
Fut1: TryFuture + Debug,
Fut1::Ok: Debug,
Fut1::Error: Debug,
Fut2: TryFuture + Debug,
Fut2::Ok: Debug,
Fut2::Error: Debug,
Fut3: TryFuture + Debug,
Fut3::Ok: Debug,
Fut3::Error: Debug,
Fut4: TryFuture + Debug,
Fut4::Ok: Debug,
Fut4::Error: 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, Fut2, Fut3, Fut4> Future for TryJoin4<Fut1, Fut2, Fut3, Fut4> where
Fut1: TryFuture,
Fut2: TryFuture<Error = Fut1::Error>,
Fut3: TryFuture<Error = Fut1::Error>,
Fut4: TryFuture<Error = Fut1::Error>,
[src]
impl<Fut1, Fut2, Fut3, Fut4> Future for TryJoin4<Fut1, Fut2, Fut3, Fut4> where
Fut1: TryFuture,
Fut2: TryFuture<Error = Fut1::Error>,
Fut3: TryFuture<Error = Fut1::Error>,
Fut4: TryFuture<Error = Fut1::Error>,
type Output = Result<(Fut1::Ok, Fut2::Ok, Fut3::Ok, Fut4::Ok), Fut1::Error>
🔬 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 TryJoin4<Fut1, Fut2, Fut3, Fut4> where
Fut1: Send,
Fut2: Send,
Fut3: Send,
Fut4: Send,
<Fut1 as TryFuture>::Error: Send,
<Fut2 as TryFuture>::Error: Send,
<Fut3 as TryFuture>::Error: Send,
<Fut4 as TryFuture>::Error: Send,
<Fut1 as TryFuture>::Ok: Send,
<Fut2 as TryFuture>::Ok: Send,
<Fut3 as TryFuture>::Ok: Send,
<Fut4 as TryFuture>::Ok: Send,
impl<Fut1, Fut2, Fut3, Fut4> Send for TryJoin4<Fut1, Fut2, Fut3, Fut4> where
Fut1: Send,
Fut2: Send,
Fut3: Send,
Fut4: Send,
<Fut1 as TryFuture>::Error: Send,
<Fut2 as TryFuture>::Error: Send,
<Fut3 as TryFuture>::Error: Send,
<Fut4 as TryFuture>::Error: Send,
<Fut1 as TryFuture>::Ok: Send,
<Fut2 as TryFuture>::Ok: Send,
<Fut3 as TryFuture>::Ok: Send,
<Fut4 as TryFuture>::Ok: Send,
impl<Fut1, Fut2, Fut3, Fut4> Sync for TryJoin4<Fut1, Fut2, Fut3, Fut4> where
Fut1: Sync,
Fut2: Sync,
Fut3: Sync,
Fut4: Sync,
<Fut1 as TryFuture>::Error: Sync,
<Fut2 as TryFuture>::Error: Sync,
<Fut3 as TryFuture>::Error: Sync,
<Fut4 as TryFuture>::Error: Sync,
<Fut1 as TryFuture>::Ok: Sync,
<Fut2 as TryFuture>::Ok: Sync,
<Fut3 as TryFuture>::Ok: Sync,
<Fut4 as TryFuture>::Ok: Sync,
impl<Fut1, Fut2, Fut3, Fut4> Sync for TryJoin4<Fut1, Fut2, Fut3, Fut4> where
Fut1: Sync,
Fut2: Sync,
Fut3: Sync,
Fut4: Sync,
<Fut1 as TryFuture>::Error: Sync,
<Fut2 as TryFuture>::Error: Sync,
<Fut3 as TryFuture>::Error: Sync,
<Fut4 as TryFuture>::Error: Sync,
<Fut1 as TryFuture>::Ok: Sync,
<Fut2 as TryFuture>::Ok: Sync,
<Fut3 as TryFuture>::Ok: Sync,
<Fut4 as TryFuture>::Ok: Sync,