Trait asn1_cereal::info::Asn1Info [] [src]

pub trait Asn1Info {
    fn asn1_tag() -> Option<Tag>;
    fn asn1_type() -> Type;
}

Provides ASN.1 information about a Rust type, including the BER tag and ASN.1 type.

Required Methods

Get the ASN.1 tag (if defined) for this Rust type. Some types don't have a tag, eg. CHOICE.

Get the ASN.1 type for this Rust type.

Implementors