pub trait Executor: Debug + Send + Sync {
fn execute<'a, 'b>(
&self,
first_instruction_account: usize,
instruction_data: &[u8],
invoke_context: &'a mut InvokeContext<'b>
) -> Result<(), InstructionError>;
}
Expand description
Program executor