Trait InspectorEvmTr

pub trait InspectorEvmTr: EvmTr {
    type Inspector;

    // Required methods
    fn inspector(&mut self) -> &mut Self::Inspector;
    fn ctx_inspector(&mut self) -> (&mut Self::Context, &mut Self::Inspector);
    fn run_inspect_interpreter(
        &mut self,
        interpreter: &mut Interpreter<<Self::Instructions as InstructionProvider>::InterpreterTypes>,
    ) -> <<Self::Instructions as InstructionProvider>::InterpreterTypes as InterpreterTypes>::Output;
}
Expand description

Inspector EVM trait.

Required Associated Types§

Required Methods§

fn inspector(&mut self) -> &mut Self::Inspector

fn ctx_inspector(&mut self) -> (&mut Self::Context, &mut Self::Inspector)

fn run_inspect_interpreter( &mut self, interpreter: &mut Interpreter<<Self::Instructions as InstructionProvider>::InterpreterTypes>, ) -> <<Self::Instructions as InstructionProvider>::InterpreterTypes as InterpreterTypes>::Output

Implementations on Foreign Types§

§

impl<CTX, INSP, I, P> InspectorEvmTr for OpEvm<CTX, INSP, I, P>

§

type Inspector = INSP

§

fn inspector( &mut self, ) -> &mut <OpEvm<CTX, INSP, I, P> as InspectorEvmTr>::Inspector

§

fn ctx_inspector( &mut self, ) -> (&mut <OpEvm<CTX, INSP, I, P> as EvmTr>::Context, &mut <OpEvm<CTX, INSP, I, P> as InspectorEvmTr>::Inspector)

§

fn run_inspect_interpreter( &mut self, interpreter: &mut Interpreter<<<OpEvm<CTX, INSP, I, P> as EvmTr>::Instructions as InstructionProvider>::InterpreterTypes>, ) -> <<<OpEvm<CTX, INSP, I, P> as EvmTr>::Instructions as InstructionProvider>::InterpreterTypes as InterpreterTypes>::Output

Implementors§

§

impl<CTX, INSP, I, P> InspectorEvmTr for Evm<CTX, INSP, I, P>

§

type Inspector = INSP