Skip to main content

select_error

Function select_error 

Source
pub fn select_error<T, E1, E2, F>(
    src: Source<Result<T, E1>>,
    f: F,
) -> Source<Result<T, E2>>
where T: Send + 'static, E1: Send + 'static, E2: Send + 'static, F: FnMut(E1) -> E2 + Send + 'static,
Expand description

Alias for map_error matching naming. Keeping both names makes porting tests verbatim possible.