logo
pub trait DerOrd {
    fn der_cmp(&self, other: &Self) -> Result<Ordering>;
}
Expand description

DER ordering trait.

Compares the ordering of two values based on their ASN.1 DER serializations.

This is used by the DER encoding for SET OF in order to establish an ordering for the elements of sets.

Required Methods

Return an Ordering between self and other when serialized as ASN.1 DER.

Implementations on Foreign Types

Implementors