cast::revm::interpreter::primitives::db

Trait DatabaseCommit

pub trait DatabaseCommit {
    // Required method
    fn commit(&mut self, changes: HashMap<Address, Account, RandomState>);
}
Expand description

EVM database commit interface.

Required Methods§

fn commit(&mut self, changes: HashMap<Address, Account, RandomState>)

Commit changes to the database.

Implementations on Foreign Types§

§

impl DatabaseCommit for MemDb

§

fn commit(&mut self, changes: HashMap<Address, Account, RandomState>)

§

impl<'a, T> DatabaseCommit for &'a mut T
where T: 'a + DatabaseCommit + ?Sized,

§

fn commit(&mut self, changes: HashMap<Address, Account, RandomState>)

§

impl<T> DatabaseCommit for Box<T>
where T: DatabaseCommit + ?Sized,

§

fn commit(&mut self, changes: HashMap<Address, Account, RandomState>)

Implementors§

§

impl DatabaseCommit for Backend

§

impl DatabaseCommit for CowBackend<'_>

§

impl DatabaseCommit for cast::backend::MemDb

§

impl DatabaseCommit for ForkedDatabase

§

impl<DB> DatabaseCommit for State<DB>
where DB: Database,

§

impl<ExtDB> DatabaseCommit for CacheDB<ExtDB>

§

impl<S, BH> DatabaseCommit for DatabaseComponents<S, BH>

§

impl<T> DatabaseCommit for WrapDatabaseRef<T>