[][src]Module grin_store::lmdb

Storage of core types using LMDB.

Structs

Batch

Batch to write multiple Writeables to db in an atomic manner.

SerIterator

An iterator that produces Readable instances back. Wraps the lower level DBIterator and deserializes the returned values.

Store

LMDB-backed store facilitating data access and serialization. All writes are done through a Batch abstraction providing atomicity.

Enums

Error

Main error type for this lmdb

Constants

ALLOC_CHUNK_SIZE

number of bytes to grow the database by when needed

Functions

option_to_not_found

unwraps the inner option by converting the none case to a not found error