loom_evm_db

Type Alias LoomDBType

Source
pub type LoomDBType = LoomDB;

Aliased Type§

struct LoomDBType {
    pub accounts: HashMap<Address, FastDbAccount, RandomState>,
    pub contracts: HashMap<FixedBytes<32>, Bytecode, SimpleBuildHasher>,
    pub logs: Vec<Log>,
    pub block_hashes: HashMap<u64, FixedBytes<32>, RandomState>,
    pub read_only_db: Option<Arc<LoomDB>>,
    pub ext_db: Option<Arc<dyn DatabaseRef<Error = Report> + Send + Sync>>,
}

Fields§

§accounts: HashMap<Address, FastDbAccount, RandomState>§contracts: HashMap<FixedBytes<32>, Bytecode, SimpleBuildHasher>§logs: Vec<Log>§block_hashes: HashMap<u64, FixedBytes<32>, RandomState>§read_only_db: Option<Arc<LoomDB>>§ext_db: Option<Arc<dyn DatabaseRef<Error = Report> + Send + Sync>>

Layout§

Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.

Size: 160 bytes