tendermint::block

Trait 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§