Struct futures_util::try_future::ErrInto [−][src]
#[must_use = "futures do nothing unless polled"]pub struct ErrInto<A, E> { /* fields omitted */ }
Future for the err_into
combinator, changing the error type of a future.
This is created by the Future::err_into
method.
Trait Implementations
impl<A: Debug, E: Debug> Debug for ErrInto<A, E>
[src]
impl<A: Debug, E: Debug> Debug for ErrInto<A, E>
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<A, E> Future for ErrInto<A, E> where
A: TryFuture,
A::Error: Into<E>,
[src]
impl<A, E> Future for ErrInto<A, E> where
A: TryFuture,
A::Error: Into<E>,
type Output = Result<A::Ok, E>
🔬 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