Struct clockwork_thread_program::state::ExecContext  
source · pub struct ExecContext {
    pub exec_index: u64,
    pub execs_since_reimbursement: u64,
    pub execs_since_slot: u64,
    pub last_exec_at: u64,
    pub trigger_context: TriggerContext,
}Expand description
The execution context of a particular transaction thread.
Fields§
§exec_index: u64Index of the next instruction to be executed.
execs_since_reimbursement: u64Number of execs since the last tx reimbursement.
execs_since_slot: u64Number of execs in this slot.
last_exec_at: u64Slot of the last exec
trigger_context: TriggerContextContext for the triggering condition
Trait Implementations§
source§impl BorshDeserialize for ExecContextwhere
    u64: BorshDeserialize,
    TriggerContext: BorshDeserialize,
 
impl BorshDeserialize for ExecContextwhere u64: BorshDeserialize, TriggerContext: BorshDeserialize,
source§impl BorshSerialize for ExecContextwhere
    u64: BorshSerialize,
    TriggerContext: BorshSerialize,
 
impl BorshSerialize for ExecContextwhere u64: BorshSerialize, TriggerContext: BorshSerialize,
source§impl Clone for ExecContext
 
impl Clone for ExecContext
source§fn clone(&self) -> ExecContext
 
fn clone(&self) -> ExecContext
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from 
source. Read moresource§impl Debug for ExecContext
 
impl Debug for ExecContext
source§impl PartialEq<ExecContext> for ExecContext
 
impl PartialEq<ExecContext> for ExecContext
source§fn eq(&self, other: &ExecContext) -> bool
 
fn eq(&self, other: &ExecContext) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.