Module lmdb_zero::traits [] [src]

Module containing public traits.

This exists as a separate module solely so that it can be wildcard imported where necessary.

Reexports

pub use error::LmdbResultExt;

Traits

AsLmdbBytes

Translates a value into a byte slice to be stored in LMDB.

FromLmdbBytes

Inverts AsLmdbBytes, producing a reference to a structure inside a byte array.

FromReservedLmdbBytes

Like FromLmdbBytes, but can be used with put_reserve() calls.

LmdbOrdKey

Trait describing a value which can be used as an LMDB key by having LMDB call into the value's Ord implementation.

LmdbOrdKeyIfUnaligned

Marker trait for types where Unaligned<T> is LmdbOrdKey.

LmdbRaw

Marker trait indicating a value is to be stored in LMDB by simply copying it in.

LmdbRawIfUnaligned

Marker trait for types where Unaligned<T> is LmdbRaw.