Trait reth_node_builder::rpc::EthApiBuilderProvider

source ·
pub trait EthApiBuilderProvider<N: FullNodeComponents>: BuilderProvider<N> + EthApiTypes {
    // Required method
    fn eth_api_builder() -> Box<dyn Fn(&EthApiBuilderCtx<N>) -> Self + Send>;
}
Expand description

Provides builder for the core eth API type.

Required Methods§

source

fn eth_api_builder() -> Box<dyn Fn(&EthApiBuilderCtx<N>) -> Self + Send>

Returns the eth api builder.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<N, F> EthApiBuilderProvider<N> for F
where N: FullNodeComponents, for<'a> F: BuilderProvider<N, Ctx<'a> = &'a EthApiBuilderCtx<N>> + EthApiTypes,