reth_provider::providers

Trait NodeTypesForProvider

Source
pub trait NodeTypesForProvider
where Self: NodeTypes<ChainSpec: EthereumHardforks, Storage: ChainStorage<Self::Primitives>, Primitives: FullNodePrimitives<SignedTx: Value + From<TransactionSigned> + Into<TransactionSigned>>>,
{ }
Expand description

Helper trait to bound [NodeTypes] so that combined with database they satisfy ProviderNodeTypes.

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> NodeTypesForProvider for T
where T: NodeTypes<ChainSpec: EthereumHardforks, Storage: ChainStorage<T::Primitives>, Primitives: FullNodePrimitives<SignedTx: Value + From<TransactionSigned> + Into<TransactionSigned>>>,