pub struct CacheDB<ExtDB: DatabaseRef> { /* private fields */ }
Expand description
Memory backend, storing all state values in a Map
in memory.
Implementations
Trait Implementations
Account is assumed that is already loaded, just get storage slot from db.
Get basic account information.
Get account code by its hash
TODO it is currently only commiting to cached in memory db
Auto Trait Implementations
impl<ExtDB> RefUnwindSafe for CacheDB<ExtDB> where
ExtDB: RefUnwindSafe,
impl<ExtDB> UnwindSafe for CacheDB<ExtDB> where
ExtDB: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more