der

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<T, const N: usize> FixedTag for [T; N]

Source§

const TAG: Tag = Tag::Sequence

Implementors§

Source§

impl FixedTag for GeneralizedTime

Source§

const TAG: Tag = Tag::GeneralizedTime

Source§

impl FixedTag for Null

Source§

const TAG: Tag = Tag::Null

Source§

impl FixedTag for ObjectIdentifier

Source§

const TAG: Tag = Tag::ObjectIdentifier

Source§

impl FixedTag for OctetString<'_>

Source§

const TAG: Tag = Tag::OctetString

Source§

impl FixedTag for PrintableString<'_>

Source§

const TAG: Tag = Tag::PrintableString

Source§

impl FixedTag for UtcTime

Source§

const TAG: Tag = Tag::UtcTime

Source§

impl FixedTag for Utf8String<'_>

Source§

const TAG: Tag = Tag::Utf8String

Source§

impl FixedTag for DateTime

Source§

const TAG: Tag = Tag::GeneralizedTime

Source§

impl<'a> FixedTag for BitString<'a>

Source§

const TAG: Tag = Tag::BitString

Source§

impl<'a> FixedTag for Ia5String<'a>

Source§

const TAG: Tag = Tag::Ia5String

Source§

impl<'a> FixedTag for UIntBytes<'a>

Source§

const TAG: Tag = Tag::Integer

Source§

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

Source§

const TAG: Tag = Tag::Sequence

Source§

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

Source§

const TAG: Tag = Tag::Set

Source§

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

Source§

const TAG: Tag = Tag::Sequence