Expand description
Implements crate::store::KeyValueStore
for the RocksDB database.
Structs§
- Path
With Guard - A path and the guard for the temporary directory if needed
- Rocks
DbStore Internal - The inner client
- Rocks
DbStore Internal Config - The initial configuration of the system
Enums§
- Rocks
DbSpawn Mode - The choice of the spawning mode.
SpawnBlocking
always works and is the safest.BlockInPlace
can only be used in multi-threaded environment. One way to select that is to select BlockInPlace whentokio::runtime::Handle::current().metrics().num_workers() > 1
BlockInPlace
is documented in https://docs.rs/tokio/latest/tokio/task/fn.block_in_place.html - Rocks
DbStore Internal Error - The error type for
RocksDbStoreInternal
Type Aliases§
- Rocks
DbStore - The
RocksDbStore
composed type with metrics - Rocks
DbStore Config - The composed config type for the
RocksDbStore
- Rocks
DbStore Error - The composed error type for the
RocksDbStore