Enum ckb_jsonrpc_types::Status
source · pub enum Status {
Pending,
Proposed,
Committed,
Unknown,
Rejected,
}
Expand description
Status for transaction
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
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
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<'de> Deserialize<'de> for Status
impl<'de> Deserialize<'de> for Status
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 Status
impl PartialEq for Status
impl Eq for Status
impl StructuralEq for Status
impl StructuralPartialEq for Status
Auto Trait Implementations§
impl RefUnwindSafe for Status
impl Send for Status
impl Sync for Status
impl Unpin for Status
impl UnwindSafe for Status
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