Struct transaction_pool::Transaction [−][src]
Internal representation of transaction.
Includes unique insertion id that can be used for scoring explictly, but internally is used to resolve conflicts in case of equal scoring (newer transactionsa are preferred).
Fields
insertion_id: u64
Sequential id of the transaction
transaction: Arc<T>
Shared transaction
Methods from Deref<Target = Arc<T>>
Trait Implementations
impl<T: Debug> Debug for Transaction<T>
[src]
impl<T: Debug> Debug for Transaction<T>
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<T> Clone for Transaction<T>
[src]
impl<T> Clone for Transaction<T>
fn clone(&self) -> Self
[src]
fn clone(&self) -> Self
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl<T> Deref for Transaction<T>
[src]
impl<T> Deref for Transaction<T>
Auto Trait Implementations
impl<T> Send for Transaction<T> where
T: Send + Sync,
impl<T> Send for Transaction<T> where
T: Send + Sync,
impl<T> Sync for Transaction<T> where
T: Send + Sync,
impl<T> Sync for Transaction<T> where
T: Send + Sync,