reth::builder

Trait FullNodeTypes

pub trait FullNodeTypes:
    Send
    + Sync
    + Unpin
    + 'static {
    type Types: NodeTypesWithDB + NodeTypesWithEngine;
    type Provider: FullProvider<Self::Types>;
}
Expand description

A helper trait that is downstream of the NodeTypesWithEngine trait and adds stateful components to the node.

Its types are configured by node internally and are not intended to be user configurable.

Required Associated Types§

type Types: NodeTypesWithDB + NodeTypesWithEngine

Node’s types with the database.

type Provider: FullProvider<Self::Types>

The provider type used to interact with the node.

Implementors§

Source§

impl<T, C> FullNodeTypes for NodeAdapter<T, C>
where T: FullNodeTypes, C: NodeComponents<T>,

§

impl<Types, Provider> FullNodeTypes for FullNodeTypesAdapter<Types, Provider>
where Types: NodeTypesWithDB + NodeTypesWithEngine, Provider: FullProvider<Types>,

§

type Types = Types

§

type Provider = Provider