revm_interpreter::interpreter_types

Trait LoopControl

Source
pub trait LoopControl {
    // Required methods
    fn set_instruction_result(&mut self, result: InstructionResult);
    fn set_next_action(
        &mut self,
        action: InterpreterAction,
        result: InstructionResult,
    );
    fn gas(&mut self) -> &mut Gas;
    fn instruction_result(&self) -> InstructionResult;
    fn take_next_action(&mut self) -> InterpreterAction;
}

Required Methods§

Implementors§