Function itertools::adaptors::filter_ok

source ·
pub fn filter_ok<I, F, T, E>(iter: I, f: F) -> FilterOk<I, F> 
where I: Iterator<Item = Result<T, E>>, F: FnMut(&T) -> bool,
Expand description

Create a new FilterOk iterator.