Struct futures_util::future::Recover [−][src]
#[must_use = "futures do nothing unless polled"]pub struct Recover<A, E, F> { /* fields omitted */ }
Future for the recover
combinator, handling errors by converting them into
an Item
, compatible with any error type of the caller's choosing.
Trait Implementations
impl<A: Debug, E: Debug, F: Debug> Debug for Recover<A, E, F>
[src]
impl<A: Debug, E: Debug, F: Debug> Debug for Recover<A, E, F>
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, F> Future for Recover<A, E, F> where
A: Future,
F: FnOnce(A::Error) -> A::Item,
[src]
impl<A, E, F> Future for Recover<A, E, F> where
A: Future,
F: FnOnce(A::Error) -> A::Item,