Enum diem_types::vm_status::KeptVMStatus
pub enum KeptVMStatus {
Executed,
OutOfGas,
MoveAbort(AbortLocation, u64),
ExecutionFailure {
location: AbortLocation,
function: u16,
code_offset: u16,
},
MiscellaneousError,
}
Variants§
Trait Implementations§
§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
.§fn arbitrary_with(
_top: <KeptVMStatus as Arbitrary>::Parameters
) -> <KeptVMStatus as Arbitrary>::Strategy
fn arbitrary_with( _top: <KeptVMStatus as Arbitrary>::Parameters ) -> <KeptVMStatus as Arbitrary>::Strategy
§impl Clone for KeptVMStatus
impl Clone for KeptVMStatus
§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 more§impl Debug for KeptVMStatus
impl Debug for KeptVMStatus
§impl<'de> Deserialize<'de> for KeptVMStatus
impl<'de> Deserialize<'de> for KeptVMStatus
§fn deserialize<__D>(
__deserializer: __D
) -> Result<KeptVMStatus, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<KeptVMStatus, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl Display for KeptVMStatus
impl Display for KeptVMStatus
§impl Hash for KeptVMStatus
impl Hash for KeptVMStatus
§impl Ord for KeptVMStatus
impl Ord for KeptVMStatus
§impl PartialEq<KeptVMStatus> for KeptVMStatus
impl PartialEq<KeptVMStatus> for KeptVMStatus
§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 ==
.§impl PartialOrd<KeptVMStatus> for KeptVMStatus
impl PartialOrd<KeptVMStatus> for KeptVMStatus
§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§impl Serialize for KeptVMStatus
impl Serialize for KeptVMStatus
§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where __S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq for KeptVMStatus
impl StructuralEq for KeptVMStatus
impl StructuralPartialEq for KeptVMStatus
Auto Trait Implementations§
impl RefUnwindSafe for KeptVMStatus
impl Send for KeptVMStatus
impl Sync for KeptVMStatus
impl Unpin for KeptVMStatus
impl UnwindSafe for KeptVMStatus
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<T> TestOnlyHash for Twhere
T: Serialize + ?Sized,
impl<T> TestOnlyHash for Twhere T: Serialize + ?Sized,
source§fn test_only_hash(&self) -> HashValue
fn test_only_hash(&self) -> HashValue
Generates a hash used only for tests.