Trait tendermint::block::ParseHeight

source ·
pub trait ParseHeight {
    // Required method
    fn parse_block_height(&self) -> Result<Height, Error>;
}
Expand description

Parse block::Height from a type

Required Methods§

source

fn parse_block_height(&self) -> Result<Height, Error>

Parse block::Height, or return an Error if parsing failed

Implementors§