reth_node_types

Trait FullNodePrimitives

pub trait FullNodePrimitives:
    NodePrimitives
    + Send
    + Sync
    + Unpin
    + Clone
    + Default
    + Debug
    + PartialEq
    + Eq
    + 'static
where Self::Block: FullBlock<Header = Self::BlockHeader, Body = Self::BlockBody>, Self::BlockHeader: FullBlockHeader, Self::BlockBody: FullBlockBody<Transaction = Self::SignedTx>, Self::SignedTx: FullSignedTx, Self::Receipt: FullReceipt,
{ }
Expand description

Helper trait that sets trait bounds on NodePrimitives.

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§

§

impl<T> FullNodePrimitives for T
where T: NodePrimitives + Send + Sync + Unpin + Clone + Default + Debug + PartialEq + Eq + 'static, <T as NodePrimitives>::BlockHeader: FullBlockHeader, <T as NodePrimitives>::BlockBody: FullBlockBody<Transaction = <T as NodePrimitives>::SignedTx>, <T as NodePrimitives>::Block: FullBlock<Header = <T as NodePrimitives>::BlockHeader, Body = <T as NodePrimitives>::BlockBody>, <T as NodePrimitives>::SignedTx: FullSignedTx, <T as NodePrimitives>::Receipt: FullReceipt,