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