Trait revm_primitives::db::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: 'a + DatabaseCommit + ?Sized> DatabaseCommit for &'a mut T

source§

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

source§

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

source§

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

Implementors§