pub trait BlockId:
    Eq
    + Ord
    + Clone
    + Debug
    + Hash
    + Serialize
    + Deserialize {
    // Required method
    fn zero() -> Self;
}
Expand description

Trait identifying the block identifier type.

Required Methods§

source

fn zero() -> Self

A special ID used to denote a non-existent block (e.g. the parent of the first block).

Object Safety§

This trait is not object safe.

Implementors§