pub trait RethRpcAddOns<N>: NodeAddOns<N, Handle = RpcHandle<N, Self::EthApi>>where
N: FullNodeComponents,{
type EthApi: EthApiTypes;
// Required method
fn hooks_mut(&mut self) -> &mut RpcHooks<N, Self::EthApi>;
}
Expand description
Helper trait implemented for add-ons producing RpcHandle
. Used by common node launcher
implementations.
Required Associated Types§
Sourcetype EthApi: EthApiTypes
type EthApi: EthApiTypes
eth API implementation.
Required Methods§
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.