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