reth_rpc_eth_api::types

Trait FullEthApiTypes

Source
pub trait FullEthApiTypes
where Self: RpcNodeCore<Provider: TransactionsProvider + ReceiptProvider, Pool: TransactionPool<Transaction: PoolTransaction<Consensus = ProviderTx<Self::Provider>>>> + EthApiTypes<TransactionCompat: TransactionCompat<<Self::Provider as TransactionsProvider>::Transaction, Transaction = RpcTransaction<Self::NetworkTypes>, Error = RpcError<Self>>>,
{ }
Expand description

Helper trait holds necessary trait bounds on EthApiTypes to implement eth API.

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§

Source§

impl<T> FullEthApiTypes for T
where T: RpcNodeCore<Provider: TransactionsProvider + ReceiptProvider, Pool: TransactionPool<Transaction: PoolTransaction<Consensus = ProviderTx<Self::Provider>>>> + EthApiTypes<TransactionCompat: TransactionCompat<<Self::Provider as TransactionsProvider>::Transaction, Transaction = RpcTransaction<T::NetworkTypes>, Error = RpcError<T>>>,