Trait phron_finality::sync::Block
source · pub trait Block: Clone + Codec + Debug + Send + Sync + 'static {
type UnverifiedHeader: UnverifiedHeader;
// Required method
fn header(&self) -> &Self::UnverifiedHeader;
}
Expand description
The block, including a header.
Required Associated Types§
Required Methods§
sourcefn header(&self) -> &Self::UnverifiedHeader
fn header(&self) -> &Self::UnverifiedHeader
The header of the block.
Object Safety§
This trait is not object safe.
Implementations on Foreign Types§
source§impl Block for Block
impl Block for Block
source§fn header(&self) -> &Self::UnverifiedHeader
fn header(&self) -> &Self::UnverifiedHeader
The header of the block.