pub trait Key: Value {
// Required method
fn compare(data1: &[u8], data2: &[u8]) -> Ordering;
}Expand description
Trait which allows the type to be used as a key in a redb table
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.