#[repr(u64)]pub enum MempoolStatusCode {
Accepted = 0,
InvalidSeqNumber = 1,
MempoolIsFull = 2,
TooManyTransactions = 3,
InvalidUpdate = 4,
VmError = 5,
UnknownStatus = 6,
}Variants§
Accepted = 0
InvalidSeqNumber = 1
MempoolIsFull = 2
TooManyTransactions = 3
InvalidUpdate = 4
VmError = 5
UnknownStatus = 6
Trait Implementations§
Source§impl Clone for MempoolStatusCode
impl Clone for MempoolStatusCode
Source§fn clone(&self) -> MempoolStatusCode
fn clone(&self) -> MempoolStatusCode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for MempoolStatusCode
Source§impl Debug for MempoolStatusCode
impl Debug for MempoolStatusCode
Source§impl Display for MempoolStatusCode
impl Display for MempoolStatusCode
impl Eq for MempoolStatusCode
Source§impl From<MempoolStatusCode> for u64
impl From<MempoolStatusCode> for u64
Source§fn from(status: MempoolStatusCode) -> u64
fn from(status: MempoolStatusCode) -> u64
Converts to this type from the input type.
Source§impl Hash for MempoolStatusCode
impl Hash for MempoolStatusCode
Source§impl Ord for MempoolStatusCode
impl Ord for MempoolStatusCode
Source§fn cmp(&self, other: &MempoolStatusCode) -> Ordering
fn cmp(&self, other: &MempoolStatusCode) -> Ordering
1.21.0 (const: unstable) · 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 for MempoolStatusCode
impl PartialEq for MempoolStatusCode
Source§impl PartialOrd for MempoolStatusCode
impl PartialOrd for MempoolStatusCode
impl StructuralPartialEq for MempoolStatusCode
Auto Trait Implementations§
impl Freeze for MempoolStatusCode
impl RefUnwindSafe for MempoolStatusCode
impl Send for MempoolStatusCode
impl Sync for MempoolStatusCode
impl Unpin for MempoolStatusCode
impl UnsafeUnpin for MempoolStatusCode
impl UnwindSafe for MempoolStatusCode
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more