reth::core::primitives::revm_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<'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<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>