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§