Struct futures::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, E> Debug for ErrInto<A, E> where
A: Debug,
E: Debug,
[src]
impl<A, E> Debug for ErrInto<A, E> where
A: Debug,
E: Debug,
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl<A, E> Future for ErrInto<A, E> where
A: TryFuture,
<A as TryFuture>::Error: Into<E>,
[src]
impl<A, E> Future for ErrInto<A, E> where
A: TryFuture,
<A as TryFuture>::Error: Into<E>,
type Output = Result<<A as TryFuture>::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<ErrInto<A, E>>,
cx: &mut Context
) -> Poll<<ErrInto<A, E> as Future>::Output>
[src]
fn poll(
self: PinMut<ErrInto<A, E>>,
cx: &mut Context
) -> Poll<<ErrInto<A, E> as Future>::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