Crate keyvaluedb
source ·Expand description
Key-Value store abstraction.
Structs§
- Write transaction. Batches a sequence of put/delete operations for efficiency.
- Transaction Result, returns the transaction unchanged upon error
- Statistic for the
span
period
Enums§
- Database operation.
- Statistic kind to query.
Constants§
- Required length of prefixes.
Traits§
- Generic key-value database.
Functions§
- 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
None
because there is no bounded limit (every keys in the serie[]
,[255]
,[255, 255]
…).
Type Aliases§
- Database value.