pub enum TagClass {
Universal = 0,
Application = 1,
ContextSpecific = 2,
Private = 3,
}
Expand description
An ASN.1 tag class, used in Tag
.
A tag class is one of:
- UNIVERSAL
- APPLICATION
- context specific
- PRIVATE
Variants§
Universal = 0
The UNIVERSAL tag class
Application = 1
The APPLICATION tag class
ContextSpecific = 2
The CONTEXT-SPECIFIC tag class
Private = 3
The PRIVATE tag class
Trait Implementations§
source§impl Ord for TagClass
impl Ord for TagClass
source§impl PartialEq for TagClass
impl PartialEq for TagClass
source§impl PartialOrd for TagClass
impl PartialOrd 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 moreimpl Copy for TagClass
impl Eq for TagClass
impl StructuralPartialEq for TagClass
Auto Trait Implementations§
impl Freeze for TagClass
impl RefUnwindSafe for TagClass
impl Send for TagClass
impl Sync for TagClass
impl Unpin for TagClass
impl UnwindSafe for TagClass
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