Trait der::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.