Struct tetsy_transaction_pool::scoring::ScoreWithRef [−][src]
pub struct ScoreWithRef<T, S> { pub score: S, pub transaction: Transaction<T>, }
Expand description
A score with a reference to the transaction.
Fields
score: S
Score
transaction: Transaction<T>
Shared transaction
Implementations
Creates a new ScoreWithRef
Trait Implementations
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl<T, S> RefUnwindSafe for ScoreWithRef<T, S> where
S: RefUnwindSafe,
T: RefUnwindSafe,
impl<T, S> Send for ScoreWithRef<T, S> where
S: Send,
T: Send + Sync,
impl<T, S> Sync for ScoreWithRef<T, S> where
S: Sync,
T: Send + Sync,
impl<T, S> Unpin for ScoreWithRef<T, S> where
S: Unpin,
impl<T, S> UnwindSafe for ScoreWithRef<T, S> where
S: UnwindSafe,
T: RefUnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more