pub enum Tag {
Show 14 variants
Boolean,
Integer,
BitString,
OctetString,
Null,
ObjectIdentifier,
Enumerated,
Utf8String,
PrintableString,
Ia5String,
UtcTime,
Sequence,
Set,
ContextSpecific(TagClass, u8),
}Expand description
ASN.1 tag identifiers
Variants§
Boolean
BOOLEAN (1)
Integer
INTEGER (2)
BitString
BIT STRING (3)
OctetString
OCTET STRING (4)
Null
NULL (5)
ObjectIdentifier
OBJECT IDENTIFIER (6)
Enumerated
ENUMERATED (10)
Utf8String
UTF8String (12)
PrintableString
PrintableString (19)
Ia5String
IA5String (22)
UtcTime
UTCTime (23)
Sequence
SEQUENCE (0x30)
Set
SET (0x31)
ContextSpecific(TagClass, u8)
Context-specific tag with class and number
Trait Implementations§
impl Copy for Tag
impl Eq 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§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)