Skip to main content

flat_map_then

Function flat_map_then 

Source
pub fn flat_map_then<'a, T: 'a, U: 'a, E: 'a>(
    l: impl Iterator<Item = Result<T, E>> + 'a,
    r: impl Fn(T) -> Results<'a, U, E> + 'a,
) -> Results<'a, U, E>
Expand description

Combination of Iterator::flat_map and then.