Struct solana_runtime::message_processor::ThisInvokeContext [−][src]
pub struct ThisInvokeContext<'a> {
pub timings: ExecuteDetailsTimings,
// some fields omitted
}
Fields
timings: ExecuteDetailsTimings
Implementations
pub fn new(
program_id: &Pubkey,
rent: Rent,
message: &'a Message,
instruction: &'a CompiledInstruction,
executable_accounts: &'a [(Pubkey, Rc<RefCell<AccountSharedData>>)],
accounts: &'a [(Pubkey, Rc<RefCell<AccountSharedData>>)],
programs: &'a [(Pubkey, ProcessInstructionWithContext)],
log_collector: Option<Rc<LogCollector>>,
bpf_compute_budget: BpfComputeBudget,
executors: Rc<RefCell<Executors>>,
instruction_recorder: Option<InstructionRecorder>,
feature_set: Arc<FeatureSet>,
account_db: Arc<Accounts>,
ancestors: &'a Ancestors
) -> Self
Trait Implementations
Push a stack frame onto the invocation stack Read more
Current depth of the invocation stake
Verify and update PreAccount state based on program execution
Get the program ID of the currently executing program
Removes the first keyed account
Get the list of keyed accounts
Get a list of built-in programs
Get this invocation’s logger
Get this invocation’s compute budget
Get this invocation’s compute meter
Loaders may need to do work in order to execute a program. Cache the work that can be re-used across executions Read more
Get the completed loader work that can be re-used across executions
Record invoked instruction
Get the bank’s active feature set
Get an account by its key
Update timing
Auto Trait Implementations
impl<'a> !RefUnwindSafe for ThisInvokeContext<'a>
impl<'a> !Send for ThisInvokeContext<'a>
impl<'a> !Sync for ThisInvokeContext<'a>
impl<'a> Unpin for ThisInvokeContext<'a>
impl<'a> !UnwindSafe for ThisInvokeContext<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more