#[repr(u8)]pub enum TagClass {
Universal = 0,
Application = 1,
Context = 2,
Private = 3,
}Expand description
Tag class in BER encoding.
Variants§
Universal = 0
Universal class (0b00)
Application = 1
Application class (0b01)
Context = 2
Context-specific class (0b10)
Private = 3
Private class (0b11)
Implementations§
Trait Implementations§
impl 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 UnsafeUnpin 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