reth::builder

Trait FullNodePrimitives

pub trait FullNodePrimitives:
    Send
    + Sync
    + Unpin
    + Clone
    + Default
    + Debug {
    type Block: FullBlock
       where <Self::Block as Block>::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§

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

Block primitive.

type SignedTx: FullSignedTx

Signed version of the transaction type.

type TxType: FullTxType

Transaction envelope type ID.

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§