Heightable

Trait Heightable 

Source
pub trait Heightable {
    // Required method
    fn height(&self) -> Height;
}
Expand description

Heightable is a trait that provides access to the height. Any consensus message or object that is associated with a specific height should implement this.

Required Methods§

Source

fn height(&self) -> Height

Returns the height associated with this object.

Implementors§