Module storage

Module storage 

Source
Expand description

§Storage

Storage backends for persisting domain state.

Two backends are available:

The default storage for a Domain is selected by the rocksdb cargo feature: RocksDB when enabled, in-memory otherwise. Configure a custom backend with DomainBuilder::with_storage.

Modules§

in_memory
In-memory storage module
options
Options for configuring the domain database
rocksdb
RocksDB storage module

Structs§

Database
A database abstraction for storing and retrieving domain data

Enums§

StorageError
An error type for storage operations.

Traits§

KeyValueStorageWithColumnFamilies
Type-safe key-value storage trait that uses strongly-typed column family identifiers.