pub trait ParseHeight {
// Required method
fn parse_block_height(&self) -> Result<Height, Error>;
}Expand description
Parse block::Height from a type
Required Methods§
Sourcefn parse_block_height(&self) -> Result<Height, Error>
fn parse_block_height(&self) -> Result<Height, Error>
Parse block::Height, or return an Error if parsing failed