Enum fuel_vm::state::ProgramState
source · Expand description
Resulting state of a transaction/program execution.
Variants§
Return(Word)
The transaction returned a Word
.
ReturnData(Bytes32)
The transaction returned some data represented as its digest.
Revert(Word)
The transaction execution resulted in a RVRT
instruction.
Trait Implementations§
source§impl Clone for ProgramState
impl Clone for ProgramState
source§fn clone(&self) -> ProgramState
fn clone(&self) -> ProgramState
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 ProgramState
impl Debug for ProgramState
source§impl<Tx> From<StateTransition<Tx>> for ProgramState
impl<Tx> From<StateTransition<Tx>> for ProgramState
source§fn from(t: StateTransition<Tx>) -> ProgramState
fn from(t: StateTransition<Tx>) -> ProgramState
Converts to this type from the input type.
source§impl<'a, Tx: Clone> From<StateTransitionRef<'a, Tx>> for ProgramState
impl<'a, Tx: Clone> From<StateTransitionRef<'a, Tx>> for ProgramState
source§fn from(t: StateTransitionRef<'a, Tx>) -> ProgramState
fn from(t: StateTransitionRef<'a, Tx>) -> ProgramState
Converts to this type from the input type.