Expand description
§Storage
Storage backends for persisting domain state.
Two backends are available:
in_memory::Storage— volatile, for testing and developmentrocksdb::Storage— persistent, for production (requiresrocksdbfeature)
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§
- Storage
Error - An error type for storage operations.
Traits§
- KeyValue
Storage With Column Families - Type-safe key-value storage trait that uses strongly-typed column family identifiers.