Struct futures_util::future::MapErr
[−]
[src]
#[must_use = "futures do nothing unless polled"]pub struct MapErr<A, F> where
A: Future, { /* fields omitted */ }
Future for the map_err
combinator, changing the error type of a future.
This is created by the Future::map_err
method.
Trait Implementations
impl<A: Debug, F: Debug> Debug for MapErr<A, F> where
A: Future,
[src]
A: Future,
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl<U, A, F> Future for MapErr<A, F> where
A: Future,
F: FnOnce(A::Error) -> U,
[src]
A: Future,
F: FnOnce(A::Error) -> U,