Enum diem_json_rpc_types::views::VMStatusView
source · pub enum VMStatusView {
Executed,
OutOfGas,
MoveAbort {
location: String,
abort_code: u64,
explanation: Option<MoveAbortExplanationView>,
},
ExecutionFailure {
location: String,
function_index: u16,
code_offset: u16,
},
MiscellaneousError,
VerificationError,
DeserializationError,
PublishingFailure,
Unknown,
}
Variants§
Executed
OutOfGas
MoveAbort
ExecutionFailure
MiscellaneousError
VerificationError
DeserializationError
PublishingFailure
Unknown
Implementations§
source§impl VMStatusView
impl VMStatusView
pub fn is_executed(&self) -> bool
Trait Implementations§
source§impl Clone for VMStatusView
impl Clone for VMStatusView
source§fn clone(&self) -> VMStatusView
fn clone(&self) -> VMStatusView
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 VMStatusView
impl Debug for VMStatusView
source§impl<'de> Deserialize<'de> for VMStatusView
impl<'de> Deserialize<'de> for VMStatusView
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 VMStatusView
impl Display for VMStatusView
source§impl From<&KeptVMStatus> for VMStatusView
impl From<&KeptVMStatus> for VMStatusView
source§impl PartialEq<VMStatusView> for VMStatusView
impl PartialEq<VMStatusView> for VMStatusView
source§fn eq(&self, other: &VMStatusView) -> bool
fn eq(&self, other: &VMStatusView) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for VMStatusView
impl Serialize for VMStatusView
impl Eq for VMStatusView
impl StructuralEq for VMStatusView
impl StructuralPartialEq for VMStatusView
Auto Trait Implementations§
impl RefUnwindSafe for VMStatusView
impl Send for VMStatusView
impl Sync for VMStatusView
impl Unpin for VMStatusView
impl UnwindSafe for VMStatusView
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.§impl<T> TestOnlyHash for Twhere
T: Serialize + ?Sized,
impl<T> TestOnlyHash for Twhere T: Serialize + ?Sized,
§fn test_only_hash(&self) -> HashValue
fn test_only_hash(&self) -> HashValue
Generates a hash used only for tests.