Enum diem_sdk::types::vm_status::StatusType
pub enum StatusType {
Validation,
Verification,
InvariantViolation,
Deserialization,
Execution,
Unknown,
}
Expand description
A status type is one of 5 different variants, along with a fallback variant in the case that we don’t recognize the status code.
Variants§
Trait Implementations§
§impl Clone for StatusType
impl Clone for StatusType
§fn clone(&self) -> StatusType
fn clone(&self) -> StatusType
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 StatusType
impl Debug for StatusType
§impl Display for StatusType
impl Display for StatusType
§impl Hash for StatusType
impl Hash for StatusType
§impl PartialEq<StatusType> for StatusType
impl PartialEq<StatusType> for StatusType
§fn eq(&self, other: &StatusType) -> bool
fn eq(&self, other: &StatusType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for StatusType
impl StructuralEq for StatusType
impl StructuralPartialEq for StatusType
Auto Trait Implementations§
impl RefUnwindSafe for StatusType
impl Send for StatusType
impl Sync for StatusType
impl Unpin for StatusType
impl UnwindSafe for StatusType
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.