#[non_exhaustive]pub enum PushTxStatus {
Success,
Rejected,
AlreadyExists,
}Expand description
Admission outcome of PushTxRequest.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Success
Admitted to the mempool.
Rejected
Rejected; see details.
AlreadyExists
Already present in the mempool.
Trait Implementations§
Source§impl Clone for PushTxStatus
impl Clone for PushTxStatus
Source§fn clone(&self) -> PushTxStatus
fn clone(&self) -> PushTxStatus
Returns a duplicate 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 PushTxStatus
impl Debug for PushTxStatus
Source§impl<'de> Deserialize<'de> for PushTxStatus
impl<'de> Deserialize<'de> for PushTxStatus
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 PartialEq for PushTxStatus
impl PartialEq for PushTxStatus
Source§impl Serialize for PushTxStatus
impl Serialize for PushTxStatus
impl Copy for PushTxStatus
impl Eq for PushTxStatus
impl StructuralPartialEq for PushTxStatus
Auto Trait Implementations§
impl Freeze for PushTxStatus
impl RefUnwindSafe for PushTxStatus
impl Send for PushTxStatus
impl Sync for PushTxStatus
impl Unpin for PushTxStatus
impl UnsafeUnpin for PushTxStatus
impl UnwindSafe for PushTxStatus
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