//! Trait for specifying `eth` API types that may be network dependent. use std::error::Error; use crate::{AsEthApiError, FromEthApiError, FromEvmError}; /// Network specific `eth` API types. pub trait EthApiTypes: Send + Sync { /// Extension of [`EthApiError`](reth_rpc_eth_types::EthApiError), with network specific errors. type Error: Into> + FromEthApiError + AsEthApiError + FromEvmError + Error + Send + Sync; }