Trait solana_sdk::process_instruction::Executor [−][src]
pub trait Executor: Debug + Send + Sync { fn execute(
&self,
loader_id: &Pubkey,
program_id: &Pubkey,
keyed_accounts: &[KeyedAccount<'_>],
instruction_data: &[u8],
invoke_context: &mut dyn InvokeContext,
use_jit: bool
) -> Result<(), InstructionError>; }
Expand description
Program executor
Required methods
fn execute(
&self,
loader_id: &Pubkey,
program_id: &Pubkey,
keyed_accounts: &[KeyedAccount<'_>],
instruction_data: &[u8],
invoke_context: &mut dyn InvokeContext,
use_jit: bool
) -> Result<(), InstructionError>
fn execute(
&self,
loader_id: &Pubkey,
program_id: &Pubkey,
keyed_accounts: &[KeyedAccount<'_>],
instruction_data: &[u8],
invoke_context: &mut dyn InvokeContext,
use_jit: bool
) -> Result<(), InstructionError>
Execute the program