[][src]Module tari_storage::lmdb_store

Modules

db

Flags used when opening databases.

Structs

LMDBBuilder

A builder for LMDBStore

LMDBConfig
LMDBDatabase
LMDBStore

A Struct for holding state for an LM Database. LMDB is memory mapped, so you can treat the DB as an (essentially) infinitely large memory-backed hashmap. A single environment is stored in one file. The individual databases are key-value tables stored within the file.

Enums

LMDBError

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.