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<'a, T> ValueOrd for EncodeValueRef<'a, T>where
T: ValueOrd,
impl<T, const N: usize> ValueOrd for SequenceOf<T, N>where
T: DerOrd,
impl<T, const N: usize> ValueOrd for SetOf<T, N>where
T: DerOrd,
impl<T> ValueOrd for ContextSpecific<T>
impl<T> ValueOrd for SetOfVec<T>where
T: DerOrd,
Available on crate feature
alloc only.