Crate typed_store

Source

Re-exports§

pub use traits::Map;
pub use metrics::DBMetrics;
pub use rocksdb;

Modules§

metrics
rocks
test_db
traits

Macros§

reopen
A helper macro to reopen multiple column families. The macro returns a tuple of DBMap structs in the same order that the column families are defined.
retry_transaction
Repeatedly attempt an Optimistic Transaction until it succeeds. Since many callsites (e.g. the consensus handler) cannot proceed in the case of failed writes, this will loop forever until the transaction succeeds.
retry_transaction_forever

Enums§

TypedStoreError

Type Aliases§

StoreError

Derive Macros§

DBMapUtils
A helper macro to simplify common operations for opening and debugging TypedStore (currently internally structs of DBMaps) It operates on a struct where all the members are of Store<K, V> or DBMap<K, V> TypedStoreDebug traits are then derived The main features are: