Expand description
Storage of core types using LMDB.
Structs§
- Batch
- Batch to write multiple Writeables to db in an atomic manner.
- Prefix
Iterator - An iterator based on key prefix. Caller is responsible for deserialization of the data.
- 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_ DEFAULT - number of bytes to grow the database by when needed
- ALLOC_
CHUNK_ SIZE_ DEFAULT_ TEST - And for test mode, to avoid too much disk allocation on windows
Functions§
- option_
to_ not_ found - unwraps the inner option by converting the none case to a not found error