Trait hotshot_types::simple_vote::HasEpoch

source ·
pub trait HasEpoch<TYPES: NodeType> {
    // Required method
    fn epoch(&self) -> Option<TYPES::Epoch>;
}
Expand description

A trait for types belonging for specific epoch

Required Methods§

source

fn epoch(&self) -> Option<TYPES::Epoch>

Returns Epoch

Implementors§

source§

impl<TYPES: NodeType> HasEpoch<TYPES> for VidDisperse<TYPES>

source§

impl<TYPES: NodeType> HasEpoch<TYPES> for VidDisperseShare<TYPES>

source§

impl<TYPES: NodeType> HasEpoch<TYPES> for MessageKind<TYPES>

source§

impl<TYPES: NodeType> HasEpoch<TYPES> for DaProposal2<TYPES>

source§

impl<TYPES: NodeType> HasEpoch<TYPES> for DaProposal<TYPES>

source§

impl<TYPES: NodeType> HasEpoch<TYPES> for QuorumProposal2<TYPES>

source§

impl<TYPES: NodeType> HasEpoch<TYPES> for QuorumProposal<TYPES>

source§

impl<TYPES: NodeType> HasEpoch<TYPES> for QuorumProposalWrapper<TYPES>

source§

impl<TYPES: NodeType> HasEpoch<TYPES> for UpgradeProposal<TYPES>

source§

impl<TYPES: NodeType> HasEpoch<TYPES> for ADVZDisperse<TYPES>

source§

impl<TYPES: NodeType> HasEpoch<TYPES> for ADVZDisperseShare<TYPES>

source§

impl<TYPES: NodeType> HasEpoch<TYPES> for VidDisperseShare2<TYPES>

source§

impl<TYPES: NodeType> HasEpoch<TYPES> for DaData2<TYPES>

source§

impl<TYPES: NodeType> HasEpoch<TYPES> for DaData

source§

impl<TYPES: NodeType> HasEpoch<TYPES> for NextEpochQuorumData2<TYPES>

source§

impl<TYPES: NodeType> HasEpoch<TYPES> for QuorumData2<TYPES>

source§

impl<TYPES: NodeType> HasEpoch<TYPES> for QuorumData<TYPES>

source§

impl<TYPES: NodeType> HasEpoch<TYPES> for TimeoutData2<TYPES>

source§

impl<TYPES: NodeType> HasEpoch<TYPES> for TimeoutData<TYPES>

source§

impl<TYPES: NodeType> HasEpoch<TYPES> for UpgradeData2<TYPES>

source§

impl<TYPES: NodeType> HasEpoch<TYPES> for UpgradeProposalData<TYPES>

source§

impl<TYPES: NodeType> HasEpoch<TYPES> for ViewSyncCommitData2<TYPES>

source§

impl<TYPES: NodeType> HasEpoch<TYPES> for ViewSyncCommitData<TYPES>

source§

impl<TYPES: NodeType> HasEpoch<TYPES> for ViewSyncFinalizeData2<TYPES>

source§

impl<TYPES: NodeType> HasEpoch<TYPES> for ViewSyncFinalizeData<TYPES>

source§

impl<TYPES: NodeType> HasEpoch<TYPES> for ViewSyncPreCommitData2<TYPES>

source§

impl<TYPES: NodeType> HasEpoch<TYPES> for ViewSyncPreCommitData<TYPES>

source§

impl<TYPES: NodeType, DATA: Voteable<TYPES> + HasEpoch<TYPES>> HasEpoch<TYPES> for SimpleVote<TYPES, DATA>

source§

impl<TYPES: NodeType, VOTEABLE: Voteable<TYPES> + HasEpoch<TYPES> + 'static, THRESHOLD: Threshold<TYPES>> HasEpoch<TYPES> for SimpleCertificate<TYPES, VOTEABLE, THRESHOLD>