Enum diem_sdk::types::mempool_status::MempoolStatusCode
pub enum MempoolStatusCode {
Accepted,
InvalidSeqNumber,
MempoolIsFull,
TooManyTransactions,
InvalidUpdate,
VmError,
UnknownStatus,
}
Variants§
Trait Implementations§
§impl Arbitrary for MempoolStatusCode
impl Arbitrary for MempoolStatusCode
§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() -> MempoolStatusCode>), (u32, Arc<fn() -> MempoolStatusCode>), (u32, Arc<fn() -> MempoolStatusCode>), (u32, Arc<fn() -> MempoolStatusCode>), (u32, Arc<fn() -> MempoolStatusCode>), (u32, Arc<fn() -> MempoolStatusCode>), (u32, Arc<fn() -> MempoolStatusCode>))>
type Strategy = TupleUnion<((u32, Arc<fn() -> MempoolStatusCode>), (u32, Arc<fn() -> MempoolStatusCode>), (u32, Arc<fn() -> MempoolStatusCode>), (u32, Arc<fn() -> MempoolStatusCode>), (u32, Arc<fn() -> MempoolStatusCode>), (u32, Arc<fn() -> MempoolStatusCode>), (u32, Arc<fn() -> MempoolStatusCode>))>
The type of
Strategy
used to generate values of type Self
.§fn arbitrary_with(
_top: <MempoolStatusCode as Arbitrary>::Parameters
) -> <MempoolStatusCode as Arbitrary>::Strategy
fn arbitrary_with( _top: <MempoolStatusCode as Arbitrary>::Parameters ) -> <MempoolStatusCode as Arbitrary>::Strategy
§impl Clone for MempoolStatusCode
impl Clone for MempoolStatusCode
§fn clone(&self) -> MempoolStatusCode
fn clone(&self) -> MempoolStatusCode
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 MempoolStatusCode
impl Debug for MempoolStatusCode
§impl Display for MempoolStatusCode
impl Display for MempoolStatusCode
§impl Hash for MempoolStatusCode
impl Hash for MempoolStatusCode
§impl Ord for MempoolStatusCode
impl Ord for MempoolStatusCode
§fn cmp(&self, other: &MempoolStatusCode) -> Ordering
fn cmp(&self, other: &MempoolStatusCode) -> 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
§impl PartialEq<MempoolStatusCode> for MempoolStatusCode
impl PartialEq<MempoolStatusCode> for MempoolStatusCode
§fn eq(&self, other: &MempoolStatusCode) -> bool
fn eq(&self, other: &MempoolStatusCode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.§impl PartialOrd<MempoolStatusCode> for MempoolStatusCode
impl PartialOrd<MempoolStatusCode> for MempoolStatusCode
§fn partial_cmp(&self, other: &MempoolStatusCode) -> Option<Ordering>
fn partial_cmp(&self, other: &MempoolStatusCode) -> 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 TryFrom<u64> for MempoolStatusCode
impl TryFrom<u64> for MempoolStatusCode
impl Copy for MempoolStatusCode
impl Eq for MempoolStatusCode
impl StructuralEq for MempoolStatusCode
impl StructuralPartialEq for MempoolStatusCode
Auto Trait Implementations§
impl RefUnwindSafe for MempoolStatusCode
impl Send for MempoolStatusCode
impl Sync for MempoolStatusCode
impl Unpin for MempoolStatusCode
impl UnwindSafe for MempoolStatusCode
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.