FullEthApiTypes

Trait FullEthApiTypes 

Source
pub trait FullEthApiTypes
where Self: RpcNodeCore<Provider: TransactionsProvider + ReceiptProvider + CanonStateSubscriptions, Pool: TransactionPool<Transaction: PoolTransaction<Consensus = ProviderTx<Self::Provider>>>> + EthApiTypes<RpcConvert: RpcConvert<Primitives = Self::Primitives, Network = 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 + CanonStateSubscriptions, Pool: TransactionPool<Transaction: PoolTransaction<Consensus = ProviderTx<Self::Provider>>>> + EthApiTypes<RpcConvert: RpcConvert<Primitives = <Self as RpcNodeCore>::Primitives, Network = Self::NetworkTypes, Error = RpcError<T>>>,