Function rocket::mtls::oid::asn1_rs::nom::bits::complete::tag

pub fn tag<I, O, C, E>(pattern: O, count: C) -> impl Fn((I, usize))where
    E: ParseError<(I, usize)>,
    I: Slice<RangeFrom<usize>> + InputIter<Item = u8> + InputLength + Clone,
    C: ToUsize,
    O: From<u8> + AddAssign + Shl<usize, Output = O> + Shr<usize, Output = O> + PartialEq,
Available on crate feature mtls only.
Expand description

Generates a parser taking count bits and comparing them to pattern