pub enum TagClass {
Universal,
Application,
ContextSpecific,
Private,
}
Expand description
An ASN.1 tag class, used in Tag
.
A tag class is one of:
- UNIVERSAL
- APPLICATION
- context specific
- PRIVATE
Variants§
Universal
The UNIVERSAL tag class
Application
The APPLICATION tag class
ContextSpecific
The CONTEXT-SPECIFIC tag class
Private
The PRIVATE tag class
Trait Implementations§
source§impl Ord for TagClass
impl Ord for TagClass
source§impl PartialEq<TagClass> for TagClass
impl PartialEq<TagClass> for TagClass
source§impl PartialOrd<TagClass> for TagClass
impl PartialOrd<TagClass> for TagClass
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more