pub struct ConsensusStatus {
pub current_view: u64,
pub last_committed_height: u64,
pub epoch_number: u64,
pub validator_count: usize,
pub epoch_start_view: u64,
}Expand description
Named consensus status shared via watch channel.
Fields§
§current_view: u64§last_committed_height: u64§epoch_number: u64§validator_count: usize§epoch_start_view: u64Implementations§
Trait Implementations§
Source§impl Clone for ConsensusStatus
impl Clone for ConsensusStatus
Source§fn clone(&self) -> ConsensusStatus
fn clone(&self) -> ConsensusStatus
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ConsensusStatus
impl Debug for ConsensusStatus
impl Copy for ConsensusStatus
Auto Trait Implementations§
impl Freeze for ConsensusStatus
impl RefUnwindSafe for ConsensusStatus
impl Send for ConsensusStatus
impl Sync for ConsensusStatus
impl Unpin for ConsensusStatus
impl UnsafeUnpin for ConsensusStatus
impl UnwindSafe for ConsensusStatus
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