Trait reth::builder::NodeTypesWithDB

source ·
pub trait NodeTypesWithDB: NodeTypes {
    type DB: Database + DatabaseMetrics + DatabaseMetadata + Clone + Unpin + 'static;
}
Expand description

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

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

Required Associated Types§

source

type DB: Database + DatabaseMetrics + DatabaseMetadata + Clone + Unpin + 'static

Underlying database type used by the node to store and retrieve data.

Implementors§

source§

impl<Types, DB> NodeTypesWithDB for NodeTypesWithDBAdapter<Types, DB>
where Types: NodeTypes, DB: Database + DatabaseMetrics + DatabaseMetadata + Clone + Unpin + 'static,

source§

type DB = DB