pub trait Tagged {
    fn tag(&self) -> Tag;
}
Available on crate feature pkcs8 only.
Expand description

Types which have an ASN.1 Tag.

Required Methods§

fn tag(&self) -> Tag

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

Implementors§

§

impl Tagged for Any

Available on crate feature alloc only.
§

impl Tagged for AnyRef<'_>

§

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

§

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

§

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

§

impl<T> Tagged for Twhere
    T: FixedTag,

Types which are FixedTag always have a known Tag type.