Viewable

Trait Viewable 

Source
pub trait Viewable {
    // Required method
    fn view(&self) -> View;
}
Expand description

Viewable is a trait that provides access to the view (round) number. Any consensus message or object that is associated with a specific view should implement this.

Required Methods§

Source

fn view(&self) -> View

Returns the view associated with this object.

Implementors§