[][src]Trait solana_runtime::process_instruction::Executor

pub trait Executor: Send + Sync {
    fn execute(
        &self,
        program_id: &Pubkey,
        keyed_accounts: &[KeyedAccount<'_>],
        instruction_data: &[u8],
        invoke_context: &mut dyn InvokeContext
    ) -> Result<(), InstructionError>; }

Program executor

Required methods

fn execute(
    &self,
    program_id: &Pubkey,
    keyed_accounts: &[KeyedAccount<'_>],
    instruction_data: &[u8],
    invoke_context: &mut dyn InvokeContext
) -> Result<(), InstructionError>

Execute the program

Loading content...

Implementors

Loading content...