reth_transaction_pool::pool

Trait ParkedOrd

Source
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§

Source

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.

Implementors§