pub fn flatten_ok<I, T, E>(iter: I) -> FlattenOk<I, T, E> where
    I: Iterator<Item = Result<T, E>>,
    T: IntoIterator,