ExecuteFunc

Type Alias ExecuteFunc 

Source
pub type ExecuteFunc<F, CTX> = unsafe fn(pre_compute: &[u8], exec_state: &mut VmExecState<F, GuestMemory, CTX>);
Expand description

Function pointer for interpreter execution with function signature (pre_compute, exec_state). The pre_compute: &[u8] is a pre-computed buffer of data corresponding to a single instruction. The contents of pre_compute are determined from the program code as specified by the Executor and MeteredExecutor traits.