pub trait OpPayloadPrimitives: NodePrimitives<SignedTx = Self::_TX, BlockBody = BlockBody<Self::_TX, Self::_Header>, BlockHeader = Self::_Header>where
Self::Receipt: DepositReceipt,{
type _TX: SignedTransaction + OpTransaction;
type _Header: FullBlockHeader;
}
Expand description
Helper trait to encapsulate common bounds on [NodePrimitives
] for OP payload builder.
Required Associated Types§
Sourcetype _TX: SignedTransaction + OpTransaction
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.