Module rocks_db

Source
Expand description

Implements crate::store::KeyValueStore for the RocksDB database.

Structs§

PathWithGuard
A path and the guard for the temporary directory if needed
RocksDbStoreInternal
The inner client
RocksDbStoreInternalConfig
The initial configuration of the system

Enums§

RocksDbSpawnMode
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 when tokio::runtime::Handle::current().metrics().num_workers() > 1 BlockInPlace is documented in https://docs.rs/tokio/latest/tokio/task/fn.block_in_place.html
RocksDbStoreInternalError
The error type for RocksDbStoreInternal

Type Aliases§

RocksDbStore
The RocksDbStore composed type with metrics
RocksDbStoreConfig
The composed config type for the RocksDbStore
RocksDbStoreError
The composed error type for the RocksDbStore