reth::providers

Trait FullProvider

Source
pub trait FullProvider<N>:
    DatabaseProviderFactory<DB = <N as NodeTypesWithDB>::DB>
    + NodePrimitivesProvider<Primitives = <N as NodeTypes>::Primitives>
    + StaticFileProviderFactory
    + BlockReaderIdExt<Transaction = <<N as NodeTypes>::Primitives as NodePrimitives>::SignedTx, Block = <<N as NodeTypes>::Primitives as NodePrimitives>::Block, Receipt = <<N as NodeTypes>::Primitives as NodePrimitives>::Receipt, Header = <<N as NodeTypes>::Primitives as NodePrimitives>::BlockHeader>
    + AccountReader
    + StateProviderFactory
    + EvmEnvProvider
    + ChainSpecProvider<ChainSpec = <N as NodeTypes>::ChainSpec>
    + ChangeSetReader
    + CanonStateSubscriptions
    + ForkChoiceSubscriptions<Header = <<N as NodeTypes>::Primitives as NodePrimitives>::BlockHeader>
    + 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§