Struct fuel_vm::state::StateTransitionRef
source ·
[−]pub struct StateTransitionRef<'a> { /* private fields */ }
Expand description
Zero-copy Representation of the result of a transaction execution bound to the lifetime of the VM.
Implementations
Create a new by reference state transition representation.
Program state representation.
pub const fn tx(&self) -> &TransactionⓘNotable traits for Transactionimpl Write for Transactionimpl Read for Transaction
pub const fn tx(&self) -> &TransactionⓘNotable traits for Transactionimpl Write for Transactionimpl Read for Transaction
Notable traits for Transaction
impl Write for Transactionimpl Read for Transaction
Resulting mutated transaction after VM execution.
Transaction receipts representing the state transition.
Flag whether the client should revert after execution.
Convert this instance into an owned state transition, cloning its internals.
Trait Implementations
Performs the conversion.
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl<'a> RefUnwindSafe for StateTransitionRef<'a>
impl<'a> Send for StateTransitionRef<'a>
impl<'a> Sync for StateTransitionRef<'a>
impl<'a> Unpin for StateTransitionRef<'a>
impl<'a> UnwindSafe for StateTransitionRef<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more