Trait InspectorFrame

Source
pub trait InspectorFrame: Frame {
    type IT: InterpreterTypes;

    // Required methods
    fn run_inspect(
        &mut self,
        evm: &mut Self::Evm,
    ) -> Result<FrameInitOrResult<Self>, Self::Error>;
    fn interpreter(&mut self) -> &mut Interpreter<Self::IT>;
    fn frame_input(&self) -> &FrameInput;
}

Required Associated Types§

Source

type IT: InterpreterTypes

Required Methods§

Source

fn run_inspect( &mut self, evm: &mut Self::Evm, ) -> Result<FrameInitOrResult<Self>, Self::Error>

Source

fn interpreter(&mut self) -> &mut Interpreter<Self::IT>

Source

fn frame_input(&self) -> &FrameInput

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl<EVM, ERROR> InspectorFrame for EthFrame<EVM, ERROR, EthInterpreter>
where EVM: EvmTr<Context: ContextTr, Precompiles: PrecompileProvider<Context = EVM::Context, Output = InterpreterResult>, Instructions: InstructionProvider<Context = EVM::Context, InterpreterTypes = EthInterpreter, Output = InterpreterAction>> + InspectorEvmTr, ERROR: From<ContextTrDbError<EVM::Context>> + From<PrecompileError>,

Source§

type IT = EthInterpreter

Source§

fn run_inspect( &mut self, evm: &mut Self::Evm, ) -> Result<FrameInitOrResult<Self>, Self::Error>

Source§

fn interpreter(&mut self) -> &mut Interpreter<Self::IT>

Source§

fn frame_input(&self) -> &FrameInput

Implementors§