reth_primitives_traits::node

Trait FullNodePrimitives

Source
pub trait FullNodePrimitives:
    Send
    + Sync
    + Unpin
    + Clone
    + Default
    + Debug {
    type Block: FullBlock<Body: BlockBody<Transaction = Self::SignedTx>>;
    type SignedTx: FullSignedTx;
    type TxType: FullTxType;
    type Receipt: FullReceipt;
}
Expand description

Helper trait that sets trait bounds on NodePrimitives.

Required Associated Types§

Source

type Block: FullBlock<Body: BlockBody<Transaction = Self::SignedTx>>

Block primitive.

Source

type SignedTx: FullSignedTx

Signed version of the transaction type.

Source

type TxType: FullTxType

Transaction envelope type ID.

Source

type Receipt: FullReceipt

A receipt.

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§