Function itertools::adaptors::map::map_ok

source ·
pub fn map_ok<I, F, T, U, E>(iter: I, f: F) -> MapOk<I, F>where
    I: Iterator<Item = Result<T, E>>,
    F: FnMut(T) -> U,
Expand description

Create a new MapOk iterator.