pub trait ReceiptExt: Receipt {
// Required method
fn receipts_root(receipts: &[&Self]) -> B256;
}
Expand description
Extension if Receipt
used in block execution.
Required Methods§
Sourcefn receipts_root(receipts: &[&Self]) -> B256
fn receipts_root(receipts: &[&Self]) -> B256
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.