Struct futures_util::future::InspectErr
[−]
[src]
#[must_use = "futures do nothing unless polled"]pub struct InspectErr<A, F> where
A: Future, { /* fields omitted */ }
Do something with the error of a future, passing it on.
This is created by the [FutureExt::inspect_err
] method.
Trait Implementations
impl<A: Debug, F: Debug> Debug for InspectErr<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<A, F> Future for InspectErr<A, F> where
A: Future,
F: FnOnce(&A::Error),
[src]
A: Future,
F: FnOnce(&A::Error),
Auto Trait Implementations
impl<A, F> Send for InspectErr<A, F> where
A: Send,
F: Send,
A: Send,
F: Send,
impl<A, F> Sync for InspectErr<A, F> where
A: Sync,
F: Sync,
A: Sync,
F: Sync,