Trait InspectorEvmTr

Source
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>::Output;
}
Expand description

Inspector EVM trait.

Required Associated Types§

Required Methods§

Source

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

Source

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

Source

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

Implementations on Foreign Types§

Source§

impl<CTX, INSP, I, P> InspectorEvmTr for Evm<CTX, INSP, I, P>
where CTX: ContextTr<Journal: JournalExt> + ContextSetters, I: InstructionProvider<Context = CTX, Output = InterpreterAction>, INSP: Inspector<CTX, I::InterpreterTypes>,

Source§

type Inspector = INSP

Source§

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

Source§

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

Source§

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

Implementors§