pub fn uncons_while1<I, F>(
input: &mut I,
predicate: F,
) -> ConsumedResult<I::Range, I>Expand description
Takes items from stream, testing each one with predicate
returns a range of at least one items which passed predicate.
ยงNote
This may not return EmptyOk as it should uncons at least one item.