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