reth::rpc::api::servers::eth::types

Trait FullEthApiTypes

pub trait FullEthApiTypes: EthApiTypes
where Self::TransactionCompat: TransactionCompat<Transaction = <Self::NetworkTypes as Network>::TransactionResponse, Error = Self::Error>,
{ }
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§

§

impl<T> FullEthApiTypes for T
where <T as EthApiTypes>::TransactionCompat: TransactionCompat<Transaction = <<T as EthApiTypes>::NetworkTypes as Network>::TransactionResponse, Error = <T as EthApiTypes>::Error>, T: EthApiTypes,