Struct futures::future::ErrInto [] [src]

#[must_use = "futures do nothing unless polled"]
pub struct ErrInto<A, E> where
    A: Future
{ /* 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 + Future,
    E: Debug


Formats the value using the given formatter. Read more

impl<A, E> Future for ErrInto<A, E> where
    A: Future,
    <A as Future>::Error: Into<E>, 

A successful value

An error


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<A, E> Send for ErrInto<A, E> where
    A: Send,
    E: Send

impl<A, E> Sync for ErrInto<A, E> where
    A: Sync,
    E: Sync