load_program_from_account

Function load_program_from_account 

Source
pub fn load_program_from_account(
    feature_set: &FeatureSet,
    compute_budget: &ComputeBudget,
    log_collector: Option<Rc<RefCell<LogCollector>>>,
    tx_executor_cache: Option<RefMut<'_, TransactionExecutorCache>>,
    program: &BorrowedAccount<'_>,
    programdata: &BorrowedAccount<'_>,
    use_jit: bool,
) -> Result<(Arc<LoadedProgram>, Option<LoadProgramMetrics>), InstructionError>