Trait lmdb_zero::traits::LmdbOrdKeyIfUnaligned [] [src]

pub unsafe trait LmdbOrdKeyIfUnaligned: LmdbRawIfUnaligned + Ord {
    fn ordered_by_bytes() -> bool { ... }
    fn ordered_as_integer() -> bool { ... }
}

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

Like LmdbOrdKey::ordered_by_bytes()

Like LmdbOrdKey::ordered_as_integer()

Implementors