Trait asn1::SimpleAsn1Readable
source · pub trait SimpleAsn1Readable<'a>: Sized {
const TAG: Tag;
// Required method
fn parse_data(data: &'a [u8]) -> ParseResult<Self>;
}
Expand description
Types with a fixed-tag that can be parsed as DER ASN.1
Required Associated Constants§
Required Methods§
fn parse_data(data: &'a [u8]) -> ParseResult<Self>
Object Safety§
This trait is not object safe.