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

Function flat_takec

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

Take len bytes from input, and apply parser.