FixedTag

Trait FixedTag 

Source
pub trait FixedTag {
    const TAG: Tag;
}
Expand description

Types which have a constant ASN.1 Tag.

Required Associated Constants§

Source

const TAG: Tag

ASN.1 tag

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl FixedTag for bool

Source§

const TAG: Tag = Tag::Boolean

Source§

impl FixedTag for i8

Source§

const TAG: Tag = Tag::Integer

Source§

impl FixedTag for i16

Source§

const TAG: Tag = Tag::Integer

Source§

impl FixedTag for i32

Source§

const TAG: Tag = Tag::Integer

Source§

impl FixedTag for i64

Source§

const TAG: Tag = Tag::Integer

Source§

impl FixedTag for i128

Source§

const TAG: Tag = Tag::Integer

Source§

impl FixedTag for str

Source§

const TAG: Tag = Tag::Utf8String

Source§

impl FixedTag for u8

Source§

const TAG: Tag = Tag::Integer

Source§

impl FixedTag for u16

Source§

const TAG: Tag = Tag::Integer

Source§

impl FixedTag for u32

Source§

const TAG: Tag = Tag::Integer

Source§

impl FixedTag for u64

Source§

const TAG: Tag = Tag::Integer

Source§

impl FixedTag for u128

Source§

const TAG: Tag = Tag::Integer

Source§

impl FixedTag for ()

Source§

const TAG: Tag = Tag::Null

Source§

impl FixedTag for String

Available on crate feature alloc only.
Source§

const TAG: Tag = Tag::Utf8String

Source§

impl FixedTag for SystemTime

Available on crate feature std only.
Source§

const TAG: Tag = Tag::GeneralizedTime

Source§

impl<T> FixedTag for Vec<T>

Available on crate feature alloc only.
Source§

const TAG: Tag = Tag::Sequence

Source§

impl<T, const N: usize> FixedTag for [T; N]

Source§

const TAG: Tag = Tag::Sequence

Implementors§

Source§

impl FixedTag for BitString

Available on crate feature alloc only.
Source§

const TAG: Tag = Tag::BitString

Source§

impl FixedTag for BmpString

Available on crate feature alloc only.
Source§

const TAG: Tag = Tag::BmpString

Source§

impl FixedTag for GeneralizedTime

Source§

const TAG: Tag = Tag::GeneralizedTime

Source§

impl FixedTag for Ia5String

Available on crate feature alloc only.
Source§

const TAG: Tag = Tag::Ia5String

Source§

impl FixedTag for Int

Available on crate feature alloc only.
Source§

const TAG: Tag = Tag::Integer

Source§

impl FixedTag for Null

Source§

const TAG: Tag = Tag::Null

Source§

impl FixedTag for ObjectIdentifier

Available on crate feature oid only.
Source§

const TAG: Tag = Tag::ObjectIdentifier

Source§

impl FixedTag for OctetString

Available on crate feature alloc only.
Source§

const TAG: Tag = Tag::OctetString

Source§

impl FixedTag for OctetStringRef<'_>

Source§

const TAG: Tag = Tag::OctetString

Source§

impl FixedTag for PrintableString

Available on crate feature alloc only.
Source§

const TAG: Tag = Tag::PrintableString

Source§

impl FixedTag for TeletexString

Available on crate feature alloc only.
Source§

const TAG: Tag = Tag::TeletexString

Source§

impl FixedTag for Uint

Available on crate feature alloc only.
Source§

const TAG: Tag = Tag::Integer

Source§

impl FixedTag for UtcTime

Source§

const TAG: Tag = Tag::UtcTime

Source§

impl FixedTag for Utf8StringRef<'_>

Source§

const TAG: Tag = Tag::Utf8String

Source§

impl FixedTag for VideotexStringRef<'_>

Source§

const TAG: Tag = Tag::VideotexString

Source§

impl FixedTag for DateTime

Source§

const TAG: Tag = Tag::GeneralizedTime

Source§

impl FixedTag for Document

Available on crate feature alloc only.
Source§

const TAG: Tag = Tag::Sequence

Source§

impl<'a> FixedTag for BitStringRef<'a>

Source§

const TAG: Tag = Tag::BitString

Source§

impl<'a> FixedTag for Ia5StringRef<'a>

Source§

const TAG: Tag = Tag::Ia5String

Source§

impl<'a> FixedTag for IntRef<'a>

Source§

const TAG: Tag = Tag::Integer

Source§

impl<'a> FixedTag for PrintableStringRef<'a>

Source§

const TAG: Tag = Tag::PrintableString

Source§

impl<'a> FixedTag for TeletexStringRef<'a>

Source§

const TAG: Tag = Tag::TeletexString

Source§

impl<'a> FixedTag for UintRef<'a>

Source§

const TAG: Tag = Tag::Integer

Source§

impl<'a, S> FixedTag for S
where S: Sequence<'a>,

Source§

const TAG: Tag = Tag::Sequence

Source§

impl<'a, T, const N: usize> FixedTag for SetOf<T, N>
where T: Decode<'a> + DerOrd,

Source§

const TAG: Tag = Tag::Set

Source§

impl<T> FixedTag for SetOfVec<T>
where T: DerOrd,

Available on crate feature alloc only.
Source§

const TAG: Tag = Tag::Set

Source§

impl<T, const N: usize> FixedTag for SequenceOf<T, N>

Source§

const TAG: Tag = Tag::Sequence