Trait InstructionProvider

Source
pub trait InstructionProvider {
    type Context;
    type InterpreterTypes: InterpreterTypes;
    type Output;

    // Required method
    fn instruction_table(
        &self,
    ) -> &InstructionTable<Self::InterpreterTypes, Self::Context>;
}
Expand description

Stores instructions for EVM.

Required Associated Types§

Source

type Context

Source

type InterpreterTypes: InterpreterTypes

Source

type Output

Required Methods§

Source

fn instruction_table( &self, ) -> &InstructionTable<Self::InterpreterTypes, Self::Context>

Implementations on Foreign Types§

Source§

impl<'a, T: 'a + InstructionProvider + ?Sized> InstructionProvider for &'a T

Source§

impl<T: InstructionProvider + ?Sized> InstructionProvider for Rc<T>

Source§

impl<T: InstructionProvider + ?Sized> InstructionProvider for Arc<T>

Implementors§

Source§

impl<IT, CTX> InstructionProvider for EthInstructions<IT, CTX>
where IT: InterpreterTypes, CTX: Host,

Source§

type InterpreterTypes = IT

Source§

type Context = CTX

Source§

type Output = InterpreterAction