FutureMapInto

Trait FutureMapInto 

Source
pub trait FutureMapInto<U> {
    type Output: Future<Item = U>;

    // Required method
    fn map_into(self) -> Self::Output;
}

Required Associated Types§

Source

type Output: Future<Item = U>

Required Methods§

Source

fn map_into(self) -> Self::Output

Implementors§

Source§

impl<F, U> FutureMapInto<U> for F
where F: Future, U: From<F::Item>,

Source§

type Output = Map<F, fn(<F as Future>::Item) -> U>