Trait OpBuilder

Source
pub trait OpBuilder: Sized {
    type Context;

    // Required methods
    fn build_op(
        self,
    ) -> OpEvm<Self::Context, (), EthInstructions<EthInterpreter, Self::Context>>;
    fn build_op_with_inspector<INSP>(
        self,
        inspector: INSP,
    ) -> OpEvm<Self::Context, INSP, EthInstructions<EthInterpreter, Self::Context>>;
}

Required Associated Types§

Required Methods§

Source

fn build_op( self, ) -> OpEvm<Self::Context, (), EthInstructions<EthInterpreter, Self::Context>>

Source

fn build_op_with_inspector<INSP>( self, inspector: INSP, ) -> OpEvm<Self::Context, INSP, EthInstructions<EthInterpreter, Self::Context>>

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<BLOCK, TX, CFG, DB, JOURNAL> OpBuilder for Context<BLOCK, TX, CFG, DB, JOURNAL, L1BlockInfo>
where BLOCK: Block, TX: OpTxTr, CFG: Cfg<Spec = OpSpecId>, DB: Database, JOURNAL: Journal<Database = DB, FinalOutput = (EvmState, Vec<Log>)>,

Source§

type Context = Context<BLOCK, TX, CFG, DB, JOURNAL, L1BlockInfo>

Source§

fn build_op( self, ) -> OpEvm<Self::Context, (), EthInstructions<EthInterpreter, Self::Context>>

Source§

fn build_op_with_inspector<INSP>( self, inspector: INSP, ) -> OpEvm<Self::Context, INSP, EthInstructions<EthInterpreter, Self::Context>>

Implementors§