pub enum OpenTxStatus {
Pending,
Merged(H256),
Committed(H256),
Rejected(String),
}Variants§
Pending
Status “pending”. The open transaction is in the pool, and not proposed yet.
Merged(H256)
Status “merged”. The open transaction is generated by merging multiple open transactions and is still unsigned.
Committed(H256)
Status “committed”. The open transaction has been committed to the canonical chain.
Rejected(String)
Due to storage limitations, the pool can only hold the most recently removed transactions.
Trait Implementations§
Source§impl Clone for OpenTxStatus
impl Clone for OpenTxStatus
Source§fn clone(&self) -> OpenTxStatus
fn clone(&self) -> OpenTxStatus
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 OpenTxStatus
impl Debug for OpenTxStatus
Source§impl<'de> Deserialize<'de> for OpenTxStatus
impl<'de> Deserialize<'de> for OpenTxStatus
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 OpenTxStatus
impl PartialEq for OpenTxStatus
Source§impl Serialize for OpenTxStatus
impl Serialize for OpenTxStatus
impl Eq for OpenTxStatus
impl StructuralPartialEq for OpenTxStatus
Auto Trait Implementations§
impl Freeze for OpenTxStatus
impl RefUnwindSafe for OpenTxStatus
impl Send for OpenTxStatus
impl Sync for OpenTxStatus
impl Unpin for OpenTxStatus
impl UnwindSafe for OpenTxStatus
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.