pub trait PackingPoolTransaction: Clone {
type Sender: Default + Ord + Hash + Copy + Debug;
// Required methods
fn sender(&self) -> Self::Sender;
fn nonce(&self) -> U256;
fn gas_price(&self) -> U256;
fn gas_limit(&self) -> U256;
}
Expand description
Trait representing a transaction processed by the PackingPool
.
Required Associated Types§
Required Methods§
fn sender(&self) -> Self::Sender
fn nonce(&self) -> U256
fn gas_price(&self) -> U256
fn gas_limit(&self) -> U256
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.