reth_primitives_traits::receipt

Trait ReceiptExt

Source
pub trait ReceiptExt: Receipt {
    // Required method
    fn receipts_root(receipts: &[&Self]) -> B256;
}
Expand description

Extension if Receipt used in block execution.

Required Methods§

Source

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.

Implementors§