pub struct PhaseVoteEvent {
pub timestamp: SystemTime,
pub vote: PhaseVote,
}
Expand description
The replica voted for a phase of a block by sending phase_vote
to a leader of the next view.
Fields§
§timestamp: SystemTime
§vote: PhaseVote
Trait Implementations§
source§impl Logger for PhaseVoteEvent
impl Logger for PhaseVoteEvent
Auto Trait Implementations§
impl Freeze for PhaseVoteEvent
impl RefUnwindSafe for PhaseVoteEvent
impl Send for PhaseVoteEvent
impl Sync for PhaseVoteEvent
impl Unpin for PhaseVoteEvent
impl UnwindSafe for PhaseVoteEvent
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