pub trait NetPrimitivesFor<N: NodePrimitives>: NetworkPrimitives<BlockHeader = N::BlockHeader, BlockBody = N::BlockBody, Block = N::Block, Receipt = N::Receipt> { }
Expand description
This is a helper trait for use in bounds, where some of the NetworkPrimitives
associated
types must be the same as the [NodePrimitives
] associated types.
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.