Skip to main content

HasEpoch

Trait HasEpoch 

Source
pub trait HasEpoch {
    // Required method
    fn epoch(&self) -> Option<EpochNumber>;
}
Expand description

A trait for types belonging for specific epoch

Required Methods§

Source

fn epoch(&self) -> Option<EpochNumber>

Returns Epoch

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl HasEpoch for DaData

Source§

impl HasEpoch for DaData2

Source§

impl HasEpoch for TimeoutData

Source§

impl HasEpoch for TimeoutData2

Source§

impl HasEpoch for TimeoutData3

Source§

impl HasEpoch for UpgradeProposal

Source§

impl HasEpoch for UpgradeProposal2

Source§

impl HasEpoch for UpgradeProposalData

Source§

impl HasEpoch for UpgradeProposalData2

Source§

impl HasEpoch for ViewSyncCommitData

Source§

impl HasEpoch for ViewSyncCommitData2

Source§

impl HasEpoch for ViewSyncFinalizeData

Source§

impl HasEpoch for ViewSyncFinalizeData2

Source§

impl HasEpoch for ViewSyncPreCommitData

Source§

impl HasEpoch for ViewSyncPreCommitData2

Source§

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

Source§

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

Source§

impl<NODE: NodeType> HasEpoch for AvidMDisperse<NODE>

Source§

impl<NODE: NodeType> HasEpoch for AvidMDisperseShare<NODE>

Source§

impl<NODE: NodeType> HasEpoch for AvidmGf2Disperse<NODE>

Source§

impl<NODE: NodeType> HasEpoch for AvidmGf2DisperseShare<NODE>

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

impl<NODE: NodeType> HasEpoch for QuorumProposal2Legacy<NODE>

Source§

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

Source§

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

Source§

impl<T: NodeType> HasEpoch for AvidmGf2DisperseShareFragment<T>

Source§

impl<T: NodeType> HasEpoch for Proposal<T>

Source§

impl<T: NodeType> HasEpoch for TimeoutCertificate3<T>

Source§

impl<T: NodeType> HasEpoch for TimeoutEvidence<T>

Source§

impl<T: NodeType> HasEpoch for Vote2Data<T>

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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

Source§

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