pub trait AdmissionQueueEntry {
// Required methods
fn gas_price(&self) -> u64;
fn transaction_keys(&self) -> impl Iterator<Item = ConsensusTransactionKey>;
fn notify_evicted(self, min_gas_price: u64);
fn notify_rejected(self, min_gas_price: u64);
}Required Methods§
fn gas_price(&self) -> u64
fn transaction_keys(&self) -> impl Iterator<Item = ConsensusTransactionKey>
fn notify_evicted(self, min_gas_price: u64)
fn notify_rejected(self, min_gas_price: u64)
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.