Trait reth_node_core::rpc::api::servers::eth::types::EthApiTypes
pub trait EthApiTypes:
Send
+ Sync
+ Clone {
type Error: Into<ErrorObject<'static>> + FromEthApiError + AsEthApiError + FromEvmError + Error + Send + Sync;
type NetworkTypes: Network<TransactionResponse = WithOtherFields<Transaction>, HeaderResponse = Header>;
}
Expand description
Network specific eth
API types.
Required Associated Types§
type Error: Into<ErrorObject<'static>> + FromEthApiError + AsEthApiError + FromEvmError + Error + Send + Sync
type Error: Into<ErrorObject<'static>> + FromEthApiError + AsEthApiError + FromEvmError + Error + Send + Sync
Extension of EthApiError
, with network specific errors.
type NetworkTypes: Network<TransactionResponse = WithOtherFields<Transaction>, HeaderResponse = Header>
type NetworkTypes: Network<TransactionResponse = WithOtherFields<Transaction>, HeaderResponse = Header>
Blockchain primitive types, specific to network, e.g. block and transaction.
Object Safety§
This trait is not object safe.