Trait OpPayloadPrimitives

Source
pub trait OpPayloadPrimitives: NodePrimitives<Receipt: DepositReceipt, SignedTx = Self::_TX, BlockHeader = Header, BlockBody = BlockBody<Self::_TX>> {
    type _TX: SignedTransaction + OpTransaction;
}
Expand description

Helper trait to encapsulate common bounds on [NodePrimitives] for OP payload builder.

Required Associated Types§

Source

type _TX: SignedTransaction + OpTransaction

Helper AT to bound [NodePrimitives::Block] type without causing bound cycle.

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<Tx, T> OpPayloadPrimitives for T
where Tx: SignedTransaction + OpTransaction, T: NodePrimitives<SignedTx = Tx, Receipt: DepositReceipt, BlockHeader = Header, BlockBody = BlockBody<Tx>>,

Source§

type _TX = Tx