pub trait BlockReaderFor<N>: BlockReader<Block = <N as NetworkPrimitives>::Block, Header = <N as NetworkPrimitives>::BlockHeader, Transaction = <<N as NetworkPrimitives>::BlockBody as BlockBody>::Transaction, Receipt = <N as NetworkPrimitives>::Receipt>where
N: NetworkPrimitives,{ }Expand description
This is a type alias to make type bounds simpler, when we have a NetworkPrimitives and need
a BlockReader whose associated types match the NetworkPrimitives associated types.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".