Trait reth::primitives::revm_primitives::db::DatabaseCommit

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

EVM database commit interface.

Required Methods§

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

Commit changes to the database.

Implementations on Foreign Types§

§

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

§

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

§

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

§

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

Implementors§

§

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>