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
sourceimpl Clone for ProgramState
impl Clone for ProgramState
sourcefn clone(&self) -> ProgramState
fn clone(&self) -> ProgramState
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ProgramState
impl Debug for ProgramState
sourceimpl From<StateTransition> for ProgramState
impl From<StateTransition> for ProgramState
sourcefn from(t: StateTransition) -> ProgramState
fn from(t: StateTransition) -> ProgramState
Converts to this type from the input type.
sourceimpl<'a> From<StateTransitionRef<'a>> for ProgramState
impl<'a> From<StateTransitionRef<'a>> for ProgramState
sourcefn from(t: StateTransitionRef<'a>) -> ProgramState
fn from(t: StateTransitionRef<'a>) -> ProgramState
Converts to this type from the input type.
sourceimpl Hash for ProgramState
impl Hash for ProgramState
sourceimpl PartialEq<ProgramState> for ProgramState
impl PartialEq<ProgramState> for ProgramState
sourcefn eq(&self, other: &ProgramState) -> bool
fn eq(&self, other: &ProgramState) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ProgramState) -> bool
fn ne(&self, other: &ProgramState) -> bool
This method tests for !=
.
impl Copy for ProgramState
impl Eq for ProgramState
impl StructuralEq for ProgramState
impl StructuralPartialEq for ProgramState
Auto Trait Implementations
impl RefUnwindSafe for ProgramState
impl Send for ProgramState
impl Sync for ProgramState
impl Unpin for ProgramState
impl UnwindSafe for ProgramState
Blanket Implementations
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