Trait phron_finality::sync::Header
source · pub trait Header: Clone + Codec + Debug + Send + Sync + 'static {
type Unverified: UnverifiedHeader;
// Required methods
fn id(&self) -> BlockId;
fn parent_id(&self) -> Option<BlockId>;
fn into_unverified(self) -> Self::Unverified;
}
Expand description
The header of a block, containing information about the parent relation.
Required Associated Types§
Required Methods§
sourcefn into_unverified(self) -> Self::Unverified
fn into_unverified(self) -> Self::Unverified
Return an unverified version of this, for sending over the network.
Object Safety§
This trait is not object safe.