pub trait ValueOrd {
// Required method
fn value_cmp(&self, other: &Self) -> Result<Ordering, Error>;
}
Available on crate feature
pkcs8
only.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
Implementors§
impl ValueOrd for BitStringRef<'_>
impl ValueOrd for BitString
impl ValueOrd for Any
impl ValueOrd for AnyRef<'_>
impl<'a, Params, Key> ValueOrd for SubjectPublicKeyInfo<Params, Key>
impl<'a, T> ValueOrd for EncodeValueRef<'a, T>where
T: ValueOrd,
impl<Params> ValueOrd for AlgorithmIdentifier<Params>where
Params: DerOrd,
impl<T> ValueOrd for ContextSpecific<T>
impl<T> ValueOrd for SetOfVec<T>where
T: DerOrd,
Available on crate feature
alloc
only.