pub trait ValueOrd {
// Required method
fn value_cmp(&self, other: &Self) -> Result<Ordering>;
}Expand description
DER value ordering trait.
Compares the ordering of the value portion of TLV-encoded DER productions.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementations on Foreign Types§
Source§impl<T> ValueOrd for PhantomData<T>
Provide a no-op implementation for PhantomData
impl<T> ValueOrd for PhantomData<T>
Provide a no-op implementation for PhantomData
Implementors§
impl ValueOrd for Any
impl ValueOrd for AnyRef<'_>
impl ValueOrd for BitString
impl ValueOrd for BitStringRef<'_>
impl ValueOrd for UtcTime
Compares the YYMMDDHHMMSSZ encodings (X.690 11.6 orders SET OF components by their
encodings), which differs from Ord (chronological) across 2000: 000101000000Z
(2000) sorts before 991231235959Z (1999).
impl<'a, T> ValueOrd for SetOfRef<'a, T>
impl<T> ValueOrd for Application<T>
impl<T> ValueOrd for ContextSpecific<T>
impl<T> ValueOrd for EncodeValueRef<'_, T>where
T: ValueOrd,
impl<T> ValueOrd for Private<T>
impl<T> ValueOrd for SetOfVec<T>where
T: DerOrd,
Available on crate feature
alloc only.