pub trait Key: Value {
// Required method
fn compare(data1: &[u8], data2: &[u8]) -> Ordering;
}
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.