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§

source

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

source§

fn header(&self) -> &Self::UnverifiedHeader

The header of the block.

§

type UnverifiedHeader = Header<u32, BlakeTwo256>

Implementors§