#[repr(u8)]pub enum Tag {
Show 14 variants
Eoc = 0,
Boolean = 1,
Integer = 2,
BitString = 3,
OctetString = 4,
Null = 5,
Oid = 6,
Sequence = 48,
UtcTime = 23,
GeneralizedTime = 24,
ContextSpecificConstructed0 = 160,
ContextSpecificConstructed1 = 161,
ContextSpecificConstructed2 = 162,
ContextSpecificConstructed3 = 163,
}
Expand description
ASN.1 Tags
Variants§
Eoc = 0
Boolean = 1
Integer = 2
BitString = 3
OctetString = 4
Null = 5
Oid = 6
Sequence = 48
UtcTime = 23
GeneralizedTime = 24
ContextSpecificConstructed0 = 160
ContextSpecificConstructed1 = 161
ContextSpecificConstructed2 = 162
ContextSpecificConstructed3 = 163
Trait Implementations§
impl Copy for Tag
impl StructuralPartialEq for Tag
Auto Trait Implementations§
impl Freeze for Tag
impl RefUnwindSafe for Tag
impl Send for Tag
impl Sync for Tag
impl Unpin for Tag
impl UnwindSafe for Tag
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