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

pub fn take<C, I, E>(count: C) -> impl Fn(I) -> IResult<I, I, E> where
    I: ShitNeededForParsing + InputLength,
    E: ParseError<I>,
    C: ToUsize
Expand description

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