pub struct CurrentVoterSet {
pub voter_count: usize,
pub kraft_version: u16,
pub latest_controls_committed: bool,
pub all_voters_support_requested: bool,
}Expand description
The committed voter set the change applies to.
Fields§
§voter_count: usize§kraft_version: u16The committed kraft.version.
latest_controls_committed: boolThe latest voter set and kraft.version in the log equal the
committed ones: no control record is uncommitted.
all_voters_support_requested: boolEvery current voter’s supported range covers the requested
kraft.version. Only a finalization reads it.
Trait Implementations§
Source§impl Clone for CurrentVoterSet
impl Clone for CurrentVoterSet
Source§fn clone(&self) -> CurrentVoterSet
fn clone(&self) -> CurrentVoterSet
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CurrentVoterSet
Source§impl Debug for CurrentVoterSet
impl Debug for CurrentVoterSet
impl Eq for CurrentVoterSet
Source§impl PartialEq for CurrentVoterSet
impl PartialEq for CurrentVoterSet
impl StructuralPartialEq for CurrentVoterSet
Auto Trait Implementations§
impl Freeze for CurrentVoterSet
impl RefUnwindSafe for CurrentVoterSet
impl Send for CurrentVoterSet
impl Sync for CurrentVoterSet
impl Unpin for CurrentVoterSet
impl UnsafeUnpin for CurrentVoterSet
impl UnwindSafe for CurrentVoterSet
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