pub trait Executor: Debug + Send + Sync {
    fn execute(
        &self,
        invoke_context: &mut InvokeContext<'_>
    ) -> Result<(), InstructionError>; }
Expand description

Program executor

Required Methods§

source

fn execute(
    &self,
    invoke_context: &mut InvokeContext<'_>
) -> Result<(), InstructionError>

Execute the program

Implementors§