[][src]Function futures_async_combinators::future::map_err

pub async fn map_err<Fut, F, T, E, U>(future: Fut, f: F) -> Result<T, U> where
    F: FnOnce(E) -> U,
    Fut: Future<Output = Result<T, E>>,