revm_context_interface::journaled_state

Trait JournalGetter

Source
pub trait JournalGetter: DatabaseGetter {
    type Journal: Journal<Database = <Self as DatabaseGetter>::Database>;

    // Required methods
    fn journal(&mut self) -> &mut Self::Journal;
    fn journal_ref(&self) -> &Self::Journal;
}

Required Associated Types§

Source

type Journal: Journal<Database = <Self as DatabaseGetter>::Database>

Required Methods§

Source

fn journal(&mut self) -> &mut Self::Journal

Source

fn journal_ref(&self) -> &Self::Journal

Implementations on Foreign Types§

Source§

impl<T: JournalGetter> JournalGetter for &mut T

Source§

type Journal = <T as JournalGetter>::Journal

Source§

fn journal(&mut self) -> &mut Self::Journal

Source§

fn journal_ref(&self) -> &Self::Journal

Source§

impl<T: JournalGetter> JournalGetter for Box<T>

Source§

type Journal = <T as JournalGetter>::Journal

Source§

fn journal(&mut self) -> &mut Self::Journal

Source§

fn journal_ref(&self) -> &Self::Journal

Implementors§