Skip to main content
This is unreleased documentation for the main (development) branch of crypto-glue.

ValueOrd

Derive Macro ValueOrd 

Source
#[derive(ValueOrd)]
{
    // Attributes available to this derive:
    #[asn1]
}
Expand description

Derive the ValueOrd trait on a struct.

This trait is used in conjunction with ASN.1 SET OF types to determine the lexicographical order of their DER encodings.