Struct futures_util::future::Then
[−]
[src]
#[must_use = "futures do nothing unless polled"]pub struct Then<A, B, F> where
A: Future,
B: IntoFuture, { /* fields omitted */ }
Future for the then
combinator, chaining computations on the end of
another future regardless of its outcome.
This is created by the Future::then
method.
Trait Implementations
impl<A: Debug, B: Debug, F: Debug> Debug for Then<A, B, F> where
A: Future,
B: IntoFuture,
B::Future: Debug,
[src]
A: Future,
B: IntoFuture,
B::Future: Debug,
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl<A, B, F> Future for Then<A, B, F> where
A: Future,
B: IntoFuture,
F: FnOnce(Result<A::Item, A::Error>) -> B,
[src]
A: Future,
B: IntoFuture,
F: FnOnce(Result<A::Item, A::Error>) -> B,