FutureMapErrInto

Trait FutureMapErrInto 

Source
pub trait FutureMapErrInto<U> {
    type Output: Future<Error = U>;

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

Required Associated Types§

Source

type Output: Future<Error = U>

Required Methods§

Source

fn map_err_into(self) -> Self::Output

Implementors§

Source§

impl<F, U> FutureMapErrInto<U> for F
where F: Future, U: From<F::Error>,

Source§

type Output = MapErr<F, fn(<F as Future>::Error) -> U>