Skip to main content

Tagged

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.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

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: FixedTag> Tagged for T

Types which are FixedTag always have a known Tag type.

Source§

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