Function panorama_imap::proto::parsers::take_while1[][src]

pub fn take_while1<F, I, E, T>(cond: F) -> impl Fn(I) -> IResult<I, I, E> where
    I: ShitNeededForParsing<Item = T>,
    E: ParseError<I>,
    F: Fn(T) -> bool
Expand description

Same as nom’s streaming take_while1, but operates on Bytes