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<T> Tagged for ContextSpecific<T>
where T: Tagged,

source§

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

source§

impl<T: FixedTag> Tagged for T

Types which are FixedTag always have a known Tag type.