pub trait IntoBlockIdentifier {
// Required method
fn into_block_identifier(self) -> BlockIdentifier;
}Expand description
A helper trait that is implemented by types that can be cheaply converted to
a BlockIdentifier. This is esentially Into<BlockIdentifier> but
orphan rules prevent using that exactly.
This trait makes it convenient to use block hashes as input to functions that take a block identifier.