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