pub struct Asn1TagLeadMask {
pub universal: u64,
pub application: u64,
pub context_specific: u64,
pub private: u64,
}Expand description
The 256 possible ASN.1 identifier leading octets, split into one 64-bit word per class.
Within each word, bits 0..31 represent primitive identifiers and bits 32..63 represent
constructed identifiers. For tag numbers 0..30, the low five bits identify the exact tag.
Bit 31 in either half is deliberately conservative: it represents every high-tag-number form
(number >= 31) having that class and constructed bit. Consequently this common-path
certificate cannot prove two different high tag numbers disjoint when they otherwise share
their first identifier octet.
Fields§
§universal: u64§application: u64§context_specific: u64§private: u64Auto Trait Implementations§
impl Freeze for Asn1TagLeadMask
impl RefUnwindSafe for Asn1TagLeadMask
impl Send for Asn1TagLeadMask
impl Sync for Asn1TagLeadMask
impl Unpin for Asn1TagLeadMask
impl UnsafeUnpin for Asn1TagLeadMask
impl UnwindSafe for Asn1TagLeadMask
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more