Struct asn1_cereal::ber::enc::BER [] [src]

pub struct BER;

Basic Encoding Rules define the most basic rules that can be used to encode an ASN.1 tag. These are the default encoding rules used when decoding ASN1, as all variants are valid BER.

When encoding, explicit tags and definite length encoding will be used for all elements.

Trait Implementations

impl Copy for BER
[src]

impl Clone for BER
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl BerEncRules for BER
[src]

Get the encoding rules for tags.

Get the encoding rules for lengths.

Returns true when primitive elements should be encoded using the shortest form. If this is true when decoding, it should be an error to not use the shortest form. Read more