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.