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