Trait ReceiptExt
pub trait ReceiptExt: Receipt {
// Required method
fn receipts_root(receipts: &[&Self]) -> FixedBytes<32>;
}
Expand description
Extension if Receipt
used in block execution.
Required Methods§
fn receipts_root(receipts: &[&Self]) -> FixedBytes<32>
fn receipts_root(receipts: &[&Self]) -> FixedBytes<32>
Calculates the receipts root of the given receipts.
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.