pub enum TxStatus {
Pending,
Proposed,
Committed(H256),
Unknown,
Rejected(String),
}
Expand description
Tx-pool transaction status
Variants§
Pending
Status “pending”. The transaction is in the pool, and not proposed yet.
Proposed
Status “proposed”. The transaction is in the pool and has been proposed.
Committed(H256)
Status “committed”. The transaction has been committed to the canonical chain.
Unknown
Status “unknown”. The node has not seen the transaction, or it should be rejected but was cleared due to storage limitations.
Rejected(String)
Status “rejected”. The transaction has been recently removed from the pool. Due to storage limitations, the node can only hold the most recently removed transactions.
Trait Implementations§
source§impl PartialEq<TxStatus> for TxStatus
impl PartialEq<TxStatus> for TxStatus
impl Eq for TxStatus
impl StructuralEq for TxStatus
impl StructuralPartialEq for TxStatus
Auto Trait Implementations§
impl RefUnwindSafe for TxStatus
impl Send for TxStatus
impl Sync for TxStatus
impl Unpin for TxStatus
impl UnwindSafe for TxStatus
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