Skip to main content

HeightIndexed

Trait HeightIndexed 

pub trait HeightIndexed {
    // Required method
    fn height(&self) -> u64;
}
Expand description

Types which have a notion of “height” within a chain.

Required Methods§

fn height(&self) -> u64

Implementations on Foreign Types§

§

impl HeightIndexed for TestBlockHeader

§

fn height(&self) -> u64

§

impl<T, U> HeightIndexed for (T, U)
where T: HeightIndexed,

§

fn height(&self) -> u64

Implementors§

§

impl<Types> HeightIndexed for ADVZCommonQueryData<Types>
where Types: NodeType,

§

impl<Types> HeightIndexed for BlockQueryData<Types>
where Types: NodeType,

§

impl<Types> HeightIndexed for BlockSummaryQueryData<Types>
where Types: NodeType, <Types as NodeType>::BlockHeader: QueryableHeader<Types>,

§

impl<Types> HeightIndexed for LeafQueryData<Types>
where Types: NodeType,

§

impl<Types> HeightIndexed for LeafQueryDataLegacy<Types>
where Types: NodeType,

§

impl<Types> HeightIndexed for PayloadMetadata<Types>
where Types: NodeType, <Types as NodeType>::BlockHeader: QueryableHeader<Types>,

§

impl<Types> HeightIndexed for PayloadQueryData<Types>
where Types: NodeType,

§

impl<Types> HeightIndexed for VidCommonMetadata<Types>
where Types: NodeType,

§

impl<Types> HeightIndexed for VidCommonQueryData<Types>
where Types: NodeType,

Source§

impl<Types: NodeType> HeightIndexed for BlockInfo<Types>