Trait hotshot_types::simple_vote::HasEpoch
source · pub trait HasEpoch<TYPES: NodeType> {
// Required method
fn epoch(&self) -> TYPES::Epoch;
}
Expand description
A trait for types belonging for specific epoch
pub trait HasEpoch<TYPES: NodeType> {
// Required method
fn epoch(&self) -> TYPES::Epoch;
}
A trait for types belonging for specific epoch