Enum asn1_cereal::ber::enc::TagEnc [] [src]

pub enum TagEnc {
    Explicit,
    Implicit,
}

An enum which determines how tags are encoded.

Variants

When encoding, all tags will be encoded as explicit tags. When decoding, implict or explict tags will be accepted. Implicit: Tags that can be encoded implicitly must

When encoding, constructed tags will be encoded as implicit tags where possible. When decoding, it's an error to use an explicit tag for a constructed element, where an implicit tag could be used instead.

Trait Implementations

impl PartialEq for TagEnc
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.