Skip to main content

LabelCmp

Trait LabelCmp 

pub trait LabelCmp {
    // Required method
    fn cmp_u8(l: u8, r: u8) -> Ordering;
}
Available on crate features dns and hickory only.
Expand description

Label comparison trait for case sensitive or insensitive comparisons

Required Methods§

fn cmp_u8(l: u8, r: u8) -> Ordering

this should mimic the cmp method from PartialOrd

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§