pub trait ToMdbValue {
// Required method
fn to_mdb_value(&self) -> MdbValue<'_>;
}
Expand description
ToMdbValue
is supposed to convert a value to a memory
slice which lmdb
uses to prevent multiple copying data
multiple times. May be unsafe.