Enum move_core_types::vm_status::KeptVMStatus
source · pub enum KeptVMStatus {
Executed,
OutOfGas,
MoveAbort(AbortLocation, u64),
ExecutionFailure {
location: AbortLocation,
function: u16,
code_offset: u16,
},
MiscellaneousError,
}
Variants§
Trait Implementations§
source§impl Arbitrary for KeptVMStatus
impl Arbitrary for KeptVMStatus
§type Parameters = ()
type Parameters = ()
The type of parameters that
arbitrary_with
accepts for configuration
of the generated Strategy
. Parameters must implement Default
.§type Strategy = TupleUnion<((u32, Arc<fn() -> KeptVMStatus>), (u32, Arc<fn() -> KeptVMStatus>), (u32, Arc<Map<(<AbortLocation as Arbitrary>::Strategy, <u64 as Arbitrary>::Strategy), fn(_: (AbortLocation, u64)) -> KeptVMStatus>>), (u32, Arc<Map<(<AbortLocation as Arbitrary>::Strategy, <u16 as Arbitrary>::Strategy, <u16 as Arbitrary>::Strategy), fn(_: (AbortLocation, u16, u16)) -> KeptVMStatus>>), (u32, Arc<fn() -> KeptVMStatus>))>
type Strategy = TupleUnion<((u32, Arc<fn() -> KeptVMStatus>), (u32, Arc<fn() -> KeptVMStatus>), (u32, Arc<Map<(<AbortLocation as Arbitrary>::Strategy, <u64 as Arbitrary>::Strategy), fn(_: (AbortLocation, u64)) -> KeptVMStatus>>), (u32, Arc<Map<(<AbortLocation as Arbitrary>::Strategy, <u16 as Arbitrary>::Strategy, <u16 as Arbitrary>::Strategy), fn(_: (AbortLocation, u16, u16)) -> KeptVMStatus>>), (u32, Arc<fn() -> KeptVMStatus>))>
The type of
Strategy
used to generate values of type Self
.source§fn arbitrary_with(_top: Self::Parameters) -> Self::Strategy
fn arbitrary_with(_top: Self::Parameters) -> Self::Strategy
source§impl Clone for KeptVMStatus
impl Clone for KeptVMStatus
source§fn clone(&self) -> KeptVMStatus
fn clone(&self) -> KeptVMStatus
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 KeptVMStatus
impl Debug for KeptVMStatus
source§impl<'de> Deserialize<'de> for KeptVMStatus
impl<'de> Deserialize<'de> for KeptVMStatus
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Display for KeptVMStatus
impl Display for KeptVMStatus
source§impl Hash for KeptVMStatus
impl Hash for KeptVMStatus
source§impl Ord for KeptVMStatus
impl Ord for KeptVMStatus
source§fn cmp(&self, other: &KeptVMStatus) -> Ordering
fn cmp(&self, other: &KeptVMStatus) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<KeptVMStatus> for KeptVMStatus
impl PartialEq<KeptVMStatus> for KeptVMStatus
source§fn eq(&self, other: &KeptVMStatus) -> bool
fn eq(&self, other: &KeptVMStatus) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<KeptVMStatus> for KeptVMStatus
impl PartialOrd<KeptVMStatus> for KeptVMStatus
source§fn partial_cmp(&self, other: &KeptVMStatus) -> Option<Ordering>
fn partial_cmp(&self, other: &KeptVMStatus) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more