Struct solana_sdk::transaction_context::ExecutionRecord
source · [−]pub struct ExecutionRecord {
pub accounts: Vec<TransactionAccount>,
pub instruction_trace: InstructionTrace,
pub return_data: TransactionReturnData,
pub total_resize_delta: i64,
}
Expand description
Everything that needs to be recorded from a TransactionContext after execution
Fields
accounts: Vec<TransactionAccount>
instruction_trace: InstructionTrace
return_data: TransactionReturnData
total_resize_delta: i64
Trait Implementations
sourceimpl From<TransactionContext> for ExecutionRecord
impl From<TransactionContext> for ExecutionRecord
Used by the bank in the runtime to write back the processed accounts and recorded instructions
sourcefn from(context: TransactionContext) -> Self
fn from(context: TransactionContext) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl RefUnwindSafe for ExecutionRecord
impl Send for ExecutionRecord
impl Sync for ExecutionRecord
impl Unpin for ExecutionRecord
impl UnwindSafe for ExecutionRecord
Blanket Implementations
sourceimpl<T> AbiExample for T
impl<T> AbiExample for T
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more