Trait ParkedOrd
pub trait ParkedOrd:
Ord
+ Clone
+ From<Arc<ValidPoolTransaction<Self::Transaction>>>
+ Into<Arc<ValidPoolTransaction<Self::Transaction>>>
+ Deref<Target = Arc<ValidPoolTransaction<Self::Transaction>>> {
type Transaction: PoolTransaction;
}
Expand description
Helper trait used for custom Ord
wrappers around a transaction.
This is effectively a wrapper for Arc<ValidPoolTransaction>
with custom Ord
implementation.
Required Associated Types§
type Transaction: PoolTransaction
type Transaction: PoolTransaction
The wrapper transaction type.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.