Function itertools::adaptors::filter_map_ok
source · pub fn filter_map_ok<I, F, T, U, E>(iter: I, f: F) -> FilterMapOk<I, F> ⓘwhere
I: Iterator<Item = Result<T, E>>,
F: FnMut(T) -> Option<U>,
Expand description
Create a new FilterOk
iterator.