der

Trait Tagged

Source
pub trait Tagged {
    // Required method
    fn tag(&self) -> Tag;
}
Expand description

Types which have an ASN.1 Tag.

Required Methods§

Source

fn tag(&self) -> Tag

Get the ASN.1 tag that this type is encoded with.

Implementors§

Source§

impl Tagged for Any

Source§

impl Tagged for AnyRef<'_>

Source§

impl<'a, T> Tagged for ContextSpecificRef<'a, T>
where T: Tagged,

Source§

impl<'a, T> Tagged for EncodeValueRef<'a, T>
where T: Tagged,

Source§

impl<T> Tagged for ContextSpecific<T>
where T: Tagged,

Source§

impl<T: FixedTag> Tagged for T

Types which are FixedTag always have a known Tag type.