Trait revm::DatabaseCommit

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

EVM database commit interface.

Required Methods§

source

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

Commit changes to the database.

Implementations on Foreign Types§

source§

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

source§

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

source§

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

source§

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

Implementors§