Crate kvdb[−][src]
Key-Value store abstraction.
Structs
DBTransaction | Write transaction. Batches a sequence of put/delete operations for efficiency. |
IoStats | Statistic for the |
Enums
DBOp | Database operation. |
IoStatsKind | Statistic kind to query. |
Constants
PREFIX_LEN | Required length of prefixes. |
Traits
KeyValueDB | Generic key-value database. |
Functions
end_prefix | For a given start prefix (inclusive), returns the correct end prefix (non-inclusive).
This assumes the key bytes are ordered in lexicographical order.
Since key length is not limited, for some case we return |
Type Definitions
DBKey | Database keys. |
DBValue | Database value. |