Enum fuel_vm::state::ExecuteState
source · Expand description
Resulting state of an instruction set execution.
Variants§
Proceed
The VM should proceed normally with the execution.
Return(Word)
The current context returned a Word
.
ReturnData(Bytes32)
The current context returned some data represented as its digest.
Revert(Word)
The set execution resulted in a RVRT
instruction.
Implementations§
source§impl ExecuteState
impl ExecuteState
sourcepub const fn should_continue(&self) -> bool
pub const fn should_continue(&self) -> bool
Return true if the VM execution should continue.
Trait Implementations§
source§impl Clone for ExecuteState
impl Clone for ExecuteState
source§fn clone(&self) -> ExecuteState
fn clone(&self) -> ExecuteState
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 more