Trait PackingPoolTransaction

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

Source

fn sender(&self) -> Self::Sender

Source

fn nonce(&self) -> U256

Source

fn gas_price(&self) -> U256

Source

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.

Implementations on Foreign Types§

Source§

impl PackingPoolTransaction for Arc<SignedTransaction>

Source§

type Sender = AddressWithSpace

Source§

fn sender(&self) -> AddressWithSpace

Source§

fn nonce(&self) -> U256

Source§

fn gas_price(&self) -> U256

Source§

fn gas_limit(&self) -> U256

Implementors§