Module kvstore

Structs§

KVStoreError
LazyBytes
A byte array that be quickly prefixed/suffixed/cloned with little cost. The Self::consolidated method returns its full content which triggers the final concatenation once. This is useful for zero-copy key prefixing.
PrefixedKVStore
Wrapper that logically behaves as a key-value store whose keys are always prefixed by prefix.
ShadowKVStore
This store will buffer all the atomic writes made by atomic_write, until the invocation of commit. This creates a tranasprent layer to defer/aggregate the writes into a coarser atomic commit.

Traits§

KVStore
Abstraction for a generic key-value store.

Type Aliases§

Key
Value