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", so this trait is not object safe.
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
Source§impl<T> ValueOrd for FlagSet<T>where
T: Flags,
T::Type: Ord,
Available on crate feature flagset
only.
impl<T> ValueOrd for FlagSet<T>where
T: Flags,
T::Type: Ord,
Available on crate feature
flagset
only.Implementors§
impl ValueOrd for Any
Available on crate feature
alloc
only.impl ValueOrd for AnyRef<'_>
impl ValueOrd for BitString
Available on crate feature
alloc
only.impl ValueOrd for BitStringRef<'_>
impl<'a, T> ValueOrd for EncodeValueRef<'a, T>where
T: ValueOrd,
impl<T> ValueOrd for ContextSpecific<T>
impl<T> ValueOrd for SetOfVec<T>where
T: DerOrd,
Available on crate feature
alloc
only.