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>; }

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>
[src]

Execute the program

Loading content...

Implementors

Loading content...