reth_node_api

Trait FullProvider

Source
pub trait FullProvider<N>:
    DatabaseProviderFactory<DB = <N as NodeTypesWithDB>::DB>
    + StaticFileProviderFactory
    + BlockReaderIdExt
    + AccountReader
    + StateProviderFactory
    + EvmEnvProvider
    + ChainSpecProvider<ChainSpec = <N as NodeTypes>::ChainSpec>
    + ChangeSetReader
    + CanonStateSubscriptions
    + ForkChoiceSubscriptions
    + StageCheckpointReader
    + Clone
    + Unpin
    + 'static
where N: NodeTypesWithDB,
{ }
Expand description

Helper trait to unify all provider traits for simplicity.

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.

Implementors§

Source§

impl<T, N> FullProvider<N> for T
where N: NodeTypesWithDB, T: DatabaseProviderFactory<DB = <N as NodeTypesWithDB>::DB> + StaticFileProviderFactory + BlockReaderIdExt + AccountReader + StateProviderFactory + EvmEnvProvider + ChainSpecProvider<ChainSpec = <N as NodeTypes>::ChainSpec> + ChangeSetReader + CanonStateSubscriptions + ForkChoiceSubscriptions + StageCheckpointReader + Clone + Unpin + 'static,