reth_primitives_traits::block::header

Trait BlockHeader

Source
pub trait BlockHeader:
    Send
    + Sync
    + Unpin
    + Clone
    + Default
    + Debug
    + PartialEq
    + Eq
    + Encodable
    + Decodable
    + BlockHeader
    + Sealable
    + InMemorySize
    + 'static { }
Expand description

Abstraction of a block header.

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§

Source§

impl<T> BlockHeader for T
where T: Send + Sync + Unpin + Clone + Default + Debug + PartialEq + Eq + Serialize + for<'de> Deserialize<'de> + Encodable + Decodable + BlockHeader + Sealable + InMemorySize + 'static,