pub enum Event {
Show 27 variants
InsertBlock(InsertBlockEvent),
CommitBlock(CommitBlockEvent),
PruneBlock(PruneBlockEvent),
UpdateHighestPC(UpdateHighestPCEvent),
UpdateLockedPC(UpdateLockedPCEvent),
UpdateHighestTC(UpdateHighestTCEvent),
UpdateValidatorSet(UpdateValidatorSetEvent),
Propose(ProposeEvent),
Nudge(NudgeEvent),
PhaseVote(PhaseVoteEvent),
NewView(NewViewEvent),
TimeoutVote(TimeoutVoteEvent),
AdvanceView(AdvanceViewEvent),
ReceiveProposal(ReceiveProposalEvent),
ReceiveNudge(ReceiveNudgeEvent),
ReceivePhaseVote(ReceivePhaseVoteEvent),
ReceiveNewView(ReceiveNewViewEvent),
ReceiveTimeoutVote(ReceiveTimeoutVoteEvent),
ReceiveAdvanceView(ReceiveAdvanceViewEvent),
StartView(StartViewEvent),
ViewTimeout(ViewTimeoutEvent),
CollectPC(CollectPCEvent),
CollectTC(CollectTCEvent),
StartSync(StartSyncEvent),
EndSync(EndSyncEvent),
ReceiveSyncRequest(ReceiveSyncRequestEvent),
SendSyncResponse(SendSyncResponseEvent),
}
Expand description
Enumerates all events defined for HotStuff-rs.
Variants§
InsertBlock(InsertBlockEvent)
CommitBlock(CommitBlockEvent)
PruneBlock(PruneBlockEvent)
UpdateHighestPC(UpdateHighestPCEvent)
UpdateLockedPC(UpdateLockedPCEvent)
UpdateHighestTC(UpdateHighestTCEvent)
UpdateValidatorSet(UpdateValidatorSetEvent)
Propose(ProposeEvent)
Nudge(NudgeEvent)
PhaseVote(PhaseVoteEvent)
NewView(NewViewEvent)
TimeoutVote(TimeoutVoteEvent)
AdvanceView(AdvanceViewEvent)
ReceiveProposal(ReceiveProposalEvent)
ReceiveNudge(ReceiveNudgeEvent)
ReceivePhaseVote(ReceivePhaseVoteEvent)
ReceiveNewView(ReceiveNewViewEvent)
ReceiveTimeoutVote(ReceiveTimeoutVoteEvent)
ReceiveAdvanceView(ReceiveAdvanceViewEvent)
StartView(StartViewEvent)
ViewTimeout(ViewTimeoutEvent)
CollectPC(CollectPCEvent)
CollectTC(CollectTCEvent)
StartSync(StartSyncEvent)
EndSync(EndSyncEvent)
ReceiveSyncRequest(ReceiveSyncRequestEvent)
SendSyncResponse(SendSyncResponseEvent)
Implementations§
Auto Trait Implementations§
impl Freeze for Event
impl RefUnwindSafe for Event
impl Send for Event
impl Sync for Event
impl Unpin for Event
impl UnwindSafe for Event
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more