Derive Macro der::Decodable [−][src]
#[derive(Decodable)] { // Attributes available to this derive: #[asn1] }
This is supported on crate feature
derive
only.Derive the Decodable
trait on an enum.
This custom derive macro can be used to automatically impl the
Decodable
trait for any enum representing a message which is
encoded as an ASN.1 CHOICE
.
See toplevel documentation for the der_derive
crate for more
information about how to use this macro.