pub type DerClass = Class;
👎Deprecated since 7.0.0: Use
Class
insteadExpand description
DER Object class of tag (same as BerClass
)
Aliased Type§
#[repr(u8)]pub enum DerClass {
Universal = 0,
Application = 1,
ContextSpecific = 2,
Private = 3,
}
Variants§
Universal = 0
Universal
class of tags (0b00
)
Application = 1
Application
class of tags (0b01
)
ContextSpecific = 2
Context-Specific
class of tags (0b10
)
Private = 3
Private
class of tags (0b11
)
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 1 byte
Size for each variant:
Universal
: 0 bytesApplication
: 0 bytesContextSpecific
: 0 bytesPrivate
: 0 bytes