pub unsafe trait LmdbOrdKeyIfUnaligned: LmdbRawIfUnaligned + Ord {
// Provided methods
fn ordered_by_bytes() -> bool { ... }
fn ordered_as_integer() -> bool { ... }
}Expand description
Marker trait for types where Unaligned<T> is LmdbOrdKey.
All LmdbOrdKey + LmdbRaw are LmdbOrdKeyIfUnaligned.
§Unsafety
Behaviour is undefined if the FromLmdbBytes or Ord implementations
panic.
Provided Methods§
Sourcefn ordered_by_bytes() -> bool
fn ordered_by_bytes() -> bool
Like LmdbOrdKey::ordered_by_bytes()
Sourcefn ordered_as_integer() -> bool
fn ordered_as_integer() -> bool
Like LmdbOrdKey::ordered_as_integer()
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.