revm_primitives::db

Trait 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§