Trait ord_lmdb_zero::traits::LmdbOrdKeyIfUnaligned
source · [−]pub unsafe trait LmdbOrdKeyIfUnaligned: LmdbRawIfUnaligned + Ord {
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
fn ordered_by_bytes() -> bool
fn ordered_by_bytes() -> bool
Like LmdbOrdKey::ordered_by_bytes()
fn ordered_as_integer() -> bool
fn ordered_as_integer() -> bool
Like LmdbOrdKey::ordered_as_integer()