Trait NetPrimitivesFor
pub trait NetPrimitivesFor<N>: NetworkPrimitives<BlockHeader = <N as NodePrimitives>::BlockHeader, BlockBody = <N as NodePrimitives>::BlockBody, Block = <N as NodePrimitives>::Block, Receipt = <N as NodePrimitives>::Receipt>where
N: NodePrimitives,{ }
Available on crate feature
network
only.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.