[][src]Module dasn1_core::types::enumerated

Structs

Enumerated

A representation of the ENUMERATED ASN.1 data type. Enumerated should be a wrapper around an enum with no inner data. Using Enumerated will produce the ENUMERATED encoding where as using enums directly will produce the CHOICE encoding.

Traits

Enumerable

A marker trait signifying that a type is an enum with no data in the variants. Implementing this trait on enums with data or on structs, and using the Enumerated struct will produce malformed encodings.