Trait der::ValueOrd

source ·
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§

source

fn value_cmp(&self, other: &Self) -> Result<Ordering>

Return an Ordering between value portion of TLV-encoded self and other when serialized as ASN.1 DER.

Implementations on Foreign Types§

source§

impl ValueOrd for u16

source§

fn value_cmp(&self, other: &Self) -> Result<Ordering>

source§

impl ValueOrd for i128

source§

fn value_cmp(&self, other: &Self) -> Result<Ordering>

source§

impl ValueOrd for i64

source§

fn value_cmp(&self, other: &Self) -> Result<Ordering>

source§

impl ValueOrd for u128

source§

fn value_cmp(&self, other: &Self) -> Result<Ordering>

source§

impl<T> ValueOrd for Vec<T>where T: DerOrd,

Available on crate feature alloc only.
source§

fn value_cmp(&self, other: &Self) -> Result<Ordering>

source§

impl ValueOrd for i8

source§

fn value_cmp(&self, other: &Self) -> Result<Ordering>

source§

impl ValueOrd for u32

source§

fn value_cmp(&self, other: &Self) -> Result<Ordering>

source§

impl<T> ValueOrd for FlagSet<T>where T: Flags, T::Type: Ord,

Available on crate feature flagset only.
source§

fn value_cmp(&self, other: &Self) -> Result<Ordering>

source§

impl ValueOrd for u64

source§

fn value_cmp(&self, other: &Self) -> Result<Ordering>

source§

impl ValueOrd for i32

source§

fn value_cmp(&self, other: &Self) -> Result<Ordering>

source§

impl<T, const N: usize> ValueOrd for [T; N]where T: DerOrd,

source§

fn value_cmp(&self, other: &Self) -> Result<Ordering>

source§

impl ValueOrd for i16

source§

fn value_cmp(&self, other: &Self) -> Result<Ordering>

source§

impl ValueOrd for u8

source§

fn value_cmp(&self, other: &Self) -> Result<Ordering>

Implementors§

source§

impl ValueOrd for Any

Available on crate feature alloc only.
source§

impl ValueOrd for AnyRef<'_>

source§

impl ValueOrd for BitString

Available on crate feature alloc only.
source§

impl ValueOrd for BitStringRef<'_>

source§

impl<'a, T> ValueOrd for EncodeValueRef<'a, T>where T: ValueOrd,

source§

impl<T> ValueOrd for ContextSpecific<T>where T: EncodeValue + ValueOrd + Tagged,

source§

impl<T> ValueOrd for SetOfVec<T>where T: DerOrd,

Available on crate feature alloc only.
source§

impl<T> ValueOrd for Twhere T: OrdIsValueOrd,

source§

impl<T, const N: usize> ValueOrd for SequenceOf<T, N>where T: DerOrd,

source§

impl<T, const N: usize> ValueOrd for SetOf<T, N>where T: DerOrd,