pub struct ComputePhaseContext<'a, 'e> {
pub input: TransactionInput<'a>,
pub storage_fee: Tokens,
pub force_accept: bool,
pub inspector: Option<&'a mut ExecutorInspector<'e>>,
}Expand description
Compute phase input context.
Fields§
§input: TransactionInput<'a>Parsed transaction input.
storage_fee: TokensFees collected during the storage phase.
force_accept: boolAccept message even without opcode.
Should only be used as part of the run_local stuff.
inspector: Option<&'a mut ExecutorInspector<'e>>Executor inspector.
Auto Trait Implementations§
impl<'a, 'e> Freeze for ComputePhaseContext<'a, 'e>
impl<'a, 'e> !RefUnwindSafe for ComputePhaseContext<'a, 'e>
impl<'a, 'e> !Send for ComputePhaseContext<'a, 'e>
impl<'a, 'e> !Sync for ComputePhaseContext<'a, 'e>
impl<'a, 'e> Unpin for ComputePhaseContext<'a, 'e>
impl<'a, 'e> !UnwindSafe for ComputePhaseContext<'a, 'e>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more