KabuRethFullProvider

Trait KabuRethFullProvider 

Source
pub trait KabuRethFullProvider<N: NodeTypesWithDB>:
    BlockHashReader
    + BlockNumReader
    + BlockIdReader
    + HeaderProvider
    + BlockBodyIndicesProvider
    + BlockReader
    + BlockReaderIdExt<Transaction = TxTy<N>, Block = BlockTy<N>, Receipt = ReceiptTy<N>, Header = HeaderTy<N>>
    + ReceiptProvider
    + ReceiptProviderIdExt
    + TransactionsProvider
    + StateProviderFactory
    + DatabaseProviderFactory<DB = N::DB>
    + CanonChainTracker
    + CanonStateSubscriptions
    + NodePrimitivesProvider<Primitives = N::Primitives>
    + ChainSpecProvider<ChainSpec = N::ChainSpec>
    + Clone
    + Debug
    + Send
    + Sync
    + 'static { }
Expand description

A trait that matches exactly what reth_storage_rpc_provider::RpcBlockchainProvider implements as minimum requirements. This provides all the necessary blockchain access methods for Kabu components.

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> KabuRethFullProvider<N> for T
where N: NodeTypesWithDB, T: BlockHashReader + BlockNumReader + BlockIdReader + HeaderProvider + BlockBodyIndicesProvider + BlockReader + BlockReaderIdExt<Transaction = TxTy<N>, Block = BlockTy<N>, Receipt = ReceiptTy<N>, Header = HeaderTy<N>> + ReceiptProvider + ReceiptProviderIdExt + TransactionsProvider + StateProviderFactory + DatabaseProviderFactory<DB = N::DB> + CanonChainTracker + CanonStateSubscriptions + NodePrimitivesProvider<Primitives = N::Primitives> + ChainSpecProvider<ChainSpec = N::ChainSpec> + Clone + Debug + Send + Sync + 'static,

Blanket implementation for any type that implements all the required traits