Enum iso7816_tlv::ber::Class
source · pub enum Class {
Universal,
Application,
ContextSpecific,
Private,
}
Expand description
Class of a BER-TLV Tag field.
Bits 8 and 7 of the first byte of the tag field indicate a class.
- The value 00 indicates a data object of the universal class.
- The value 01 indicates a data object of the application class.
- The value 10 indicates a data object of the context-specific class.
- The value 11 indicates a data object of the private class.
Variants§
Universal
Universal class, not defined in ISO/IEC 7816
Application
Application class, identification defined in [ISO7816-4]
ContextSpecific
Context-specific class, defined in ISO/IEC 7816
Private
Private class, not defined in ISO/IEC 7816
Trait Implementations§
source§impl PartialEq for Class
impl PartialEq for Class
impl StructuralPartialEq for Class
Auto Trait Implementations§
impl RefUnwindSafe for Class
impl Send for Class
impl Sync for Class
impl Unpin for Class
impl UnwindSafe for Class
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