pub trait Viewable {
type View;
// Required method
fn view(&self) -> 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.