pub trait RethRpcAddOns<N: FullNodeComponents>: NodeAddOns<N, Handle = RpcHandle<N, Self::EthApi>> {
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§
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.