pub trait StoreKey: KeyBase + Ord {
// Required method
fn write_to(&self, buf: &mut Vec<u8>);
}
Expand description
A trait for keys that can be stored in the database. They need to allow hashing and comparison.
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.