reth_primitives_traits::node

Trait FullNodePrimitives

Source
pub trait FullNodePrimitives
where Self: NodePrimitives<Block: FullBlock<Header = Self::BlockHeader, Body = Self::BlockBody>, BlockHeader: FullBlockHeader, BlockBody: FullBlockBody<Transaction = Self::SignedTx>, SignedTx: FullSignedTx, Receipt: FullReceipt> + Send + Sync + Unpin + Clone + Default + Debug + PartialEq + Eq + 'static,
{ }
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§

Source§

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