Function finchers::endpoint::combinator::map_err
[−]
[src]
pub fn map_err<E, F, R>(endpoint: E, f: F) -> MapErr<E, F> where
E: Endpoint,
F: FnOnce(E::Error) -> R,
Equivalent to e.map_err(f)