Trait BlockHeader
pub trait BlockHeader:
Send
+ Sync
+ Unpin
+ Clone
+ Default
+ Debug
+ PartialEq
+ Eq
+ Encodable
+ Decodable
+ BlockHeader
+ Sealable
+ InMemorySize
+ MaybeSerde
+ MaybeArbitrary
+ MaybeSerdeBincodeCompat
+ AsRef<Self>
+ 'static {
// Required method
fn is_empty(&self) -> bool;
}
Expand description
Abstraction of a block header.
Required Methods§
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.