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
sourceimpl 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
sourceimpl Clone for ExecuteState
impl Clone for ExecuteState
sourcefn clone(&self) -> ExecuteState
fn clone(&self) -> ExecuteState
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 moresourceimpl Debug for ExecuteState
impl Debug for ExecuteState
sourceimpl Default for ExecuteState
impl Default for ExecuteState
sourceimpl Hash for ExecuteState
impl Hash for ExecuteState
sourceimpl PartialEq<ExecuteState> for ExecuteState
impl PartialEq<ExecuteState> for ExecuteState
sourcefn eq(&self, other: &ExecuteState) -> bool
fn eq(&self, other: &ExecuteState) -> bool
impl Copy for ExecuteState
impl Eq for ExecuteState
impl StructuralEq for ExecuteState
impl StructuralPartialEq for ExecuteState
Auto Trait Implementations
impl RefUnwindSafe for ExecuteState
impl Send for ExecuteState
impl Sync for ExecuteState
impl Unpin for ExecuteState
impl UnwindSafe for ExecuteState
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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