Struct der_parser::der::Tag
source · pub struct Tag(pub u32);
Expand description
BER/DER Tag as defined in X.680 section 8.4
X.690 doesn’t specify the maximum tag size so we’re assuming that people aren’t going to need anything more than a u32.
Tuple Fields§
§0: u32
Implementations§
source§impl Tag
impl Tag
pub const EndOfContent: Tag = _
pub const Boolean: Tag = _
pub const Integer: Tag = _
pub const BitString: Tag = _
pub const OctetString: Tag = _
pub const Null: Tag = _
pub const Oid: Tag = _
pub const ObjectDescriptor: Tag = _
pub const External: Tag = _
pub const RealType: Tag = _
pub const Enumerated: Tag = _
pub const EmbeddedPdv: Tag = _
pub const Utf8String: Tag = _
pub const RelativeOid: Tag = _
pub const Sequence: Tag = _
pub const Set: Tag = _
pub const NumericString: Tag = _
pub const PrintableString: Tag = _
pub const T61String: Tag = _
pub const TeletexString: Tag = _
pub const VideotexString: Tag = _
pub const Ia5String: Tag = _
pub const UtcTime: Tag = _
pub const GeneralizedTime: Tag = _
pub const GraphicString: Tag = _
pub const VisibleString: Tag = _
pub const GeneralString: Tag = _
pub const UniversalString: Tag = _
pub const CharacterString: Tag = _
pub const BmpString: Tag = _
Trait Implementations§
impl Copy for Tag
impl Eq for Tag
impl StructuralPartialEq for Tag
Auto Trait Implementations§
impl RefUnwindSafe for Tag
impl Send for Tag
impl Sync for Tag
impl Unpin for Tag
impl UnwindSafe for Tag
Blanket Implementations§
source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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