rocket::mtls::x509::der_parser::rusticata_macros::combinator

Function flat_take

Source
pub fn flat_take<I, C, O, E, F>(len: C, parser: F) -> impl FnMut(I)
where E: ParseError<I>, I: InputTake + InputLength + InputIter, C: ToUsize + Copy, F: Parser<I, O, E>,
Available on crate feature mtls only.
Expand description

Return a closure that takes len bytes from input, and applies parser.