Trait InspectorFrame

pub trait InspectorFrame: Frame {
    type IT: InterpreterTypes;

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

Required Associated Types§

Required Methods§

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

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

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.

Implementors§

§

impl<EVM, ERROR> InspectorFrame for EthFrame<EVM, ERROR, EthInterpreter>
where <EVM as EvmTr>::Context: ContextTr, <EVM as EvmTr>::Precompiles: PrecompileProvider<<EVM as EvmTr>::Context, Output = InterpreterResult>, <EVM as EvmTr>::Instructions: InstructionProvider<Context = <EVM as EvmTr>::Context, InterpreterTypes = EthInterpreter>, EVM: EvmTr + InspectorEvmTr, ERROR: From<<<<EVM as EvmTr>::Context as ContextTr>::Db as Database>::Error> + From<PrecompileError> + FromStringError,