Module linera_views::backends::rocks_db
source · Expand description
Implements crate::store::KeyValueStore
for the RocksDB database.
Structs§
- A path and the guard for the temporary directory if needed
- The inner client
- The initial configuration of the system
Enums§
- 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 - The error type for
RocksDbStoreInternal
Type Aliases§
- The
RocksDbStore
composed type with metrics - The composed config type for the
RocksDbStore
- The composed error type for the
RocksDbStore