reth::rpc::eth

Trait FullEthApiServer

Source
pub trait FullEthApiServer:
    EthApiServer<<Self::NetworkTypes as Network>::TransactionResponse, Block<<Self::NetworkTypes as Network>::TransactionResponse, <Self::NetworkTypes as Network>::HeaderResponse>, <Self::NetworkTypes as Network>::ReceiptResponse, <Self::NetworkTypes as Network>::HeaderResponse>
    + FullEthApi
    + Clone { }
Expand description

Helper trait, unifies functionality that must be supported to implement all RPC methods for server.

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> FullEthApiServer for T
where T: EthApiServer<<<T as EthApiTypes>::NetworkTypes as Network>::TransactionResponse, Block<<<T as EthApiTypes>::NetworkTypes as Network>::TransactionResponse, <<T as EthApiTypes>::NetworkTypes as Network>::HeaderResponse>, <<T as EthApiTypes>::NetworkTypes as Network>::ReceiptResponse, <<T as EthApiTypes>::NetworkTypes as Network>::HeaderResponse> + FullEthApi + Clone,