pub struct Null;Expand description
ASN.1 NULL — the type with exactly one value and no content.
Encoded as the two-byte sequence 0x05 0x00 (tag 5, length 0).
Commonly used as the parameters field in AlgorithmIdentifier when the
algorithm takes no parameters (e.g. in RSA or many hash algorithm OIDs).
Trait Implementations§
impl Copy for Null
impl Eq for Null
impl StructuralPartialEq for Null
Auto Trait Implementations§
impl Freeze for Null
impl RefUnwindSafe for Null
impl Send for Null
impl Sync for Null
impl Unpin for Null
impl UnsafeUnpin for Null
impl UnwindSafe for Null
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> TagForOptional for Twhere
T: Tagged,
impl<T> TagForOptional for Twhere
T: Tagged,
Source§fn optional_tag() -> Option<Tag>
fn optional_tag() -> Option<Tag>
Return the expected tag for optional-field peek-ahead, or
None if
the type accepts multiple tags (CHOICE) or any tag (ANY / Element<'a>).