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

Execute the program

Implementors