Skip to main content

Module db

Module db 

Source
Expand description

Contains database implementations and related

Modules§

cow
Cache-on-write database. A memory cache that caches only on write, not on read. Intended to wrap some other caching database.
syncconcurrent-db
Concurrent version of revm::database::State

Enums§

ArcUpgradeError
Error type for implementation of TryStateAcc for Arc-wrapped DBs.

Traits§

CachingDb
Trait for Databases that have a Cache.
DbConnect
Trait for types that can be used to connect to a database.
StateAcc
Abstraction trait covering types that accumulate state changes into a BundleState. The prime example of this is State. These types are use to accumulate state changes during the execution of a sequence of transactions, and then provide access to the net changes in the form of a BundleState.
TryCachingDb
Trait for Databases that have a Cache and can fail to mutably access it. E.g. Arc<CacheDB<Db>>
TryStateAcc
Fallible version of StateAcc.