pub trait InstructionExecutor {
// Required method
fn execute(
&mut self,
bytecode: &Bytecode,
constants: &[Value],
) -> Result<(), ExecutionError>;
}Expand description
Defines the main interface for VM instruction execution
This trait provides the core execution interface that the VM uses to run bytecode programs.