Trait JournalExt

pub trait JournalExt {
    // Required methods
    fn logs(&self) -> &[Log];
    fn last_journal(&self) -> &[JournalEntry];
    fn evm_state(&self) -> &HashMap<Address, Account, RandomState>;
    fn evm_state_mut(&mut self) -> &mut HashMap<Address, Account, RandomState>;
}

Required Methods§

fn logs(&self) -> &[Log]

fn last_journal(&self) -> &[JournalEntry]

fn evm_state(&self) -> &HashMap<Address, Account, RandomState>

fn evm_state_mut(&mut self) -> &mut HashMap<Address, Account, RandomState>

Implementations on Foreign Types§

§

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

§

fn logs(&self) -> &[Log]

§

fn last_journal(&self) -> &[JournalEntry]

§

fn evm_state(&self) -> &HashMap<Address, Account, RandomState>

§

fn evm_state_mut(&mut self) -> &mut HashMap<Address, Account, RandomState>

§

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

§

fn logs(&self) -> &[Log]

§

fn last_journal(&self) -> &[JournalEntry]

§

fn evm_state(&self) -> &HashMap<Address, Account, RandomState>

§

fn evm_state_mut(&mut self) -> &mut HashMap<Address, Account, RandomState>

Implementors§

§

impl<DB> JournalExt for Journal<DB>
where DB: Database,