Trait reth_node_api::node::BuilderProvider

source ·
pub trait BuilderProvider<N: FullNodeComponents>: Send {
    type Ctx<'a>;

    // Required method
    fn builder() -> Box<dyn for<'a> Fn(Self::Ctx<'a>) -> Self + Send>;
}
Expand description

Returns the builder for type.

Required Associated Types§

source

type Ctx<'a>

Context required to build type.

Required Methods§

source

fn builder() -> Box<dyn for<'a> Fn(Self::Ctx<'a>) -> Self + Send>

Returns builder for type.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<N: FullNodeComponents> BuilderProvider<N> for ()

source§

type Ctx<'a> = ()

source§

fn builder() -> Box<dyn for<'a> Fn(Self::Ctx<'a>) -> Self + Send>

Implementors§