pub trait ReceiptsRoot {
// Required methods
fn receipts_root(&self) -> &Bytes32;
fn receipts_root_mut(&mut self) -> &mut Bytes32;
fn receipts_root_offset_static() -> usize;
// Provided method
fn receipts_root_offset(&self) -> usize { ... }
}
Required Methods§
fn receipts_root(&self) -> &Bytes32
fn receipts_root_mut(&mut self) -> &mut Bytes32
fn receipts_root_offset_static() -> usize
Provided Methods§
fn receipts_root_offset(&self) -> usize
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.