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§
Sourcetype SignedTx: FullSignedTx
type SignedTx: FullSignedTx
Signed version of the transaction type.
Sourcetype TxType: FullTxType
type TxType: FullTxType
Transaction envelope type ID.
Sourcetype Receipt: FullReceipt
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.