pub struct TargetVoter {
pub membership: TargetMembership,
pub version_compatible: bool,
pub caught_up: bool,
}Expand description
Facts about the voter an add, remove, or update names. A finalization names no voter and does not read them.
Fields§
§membership: TargetMembership§version_compatible: boolThe voter’s supported range covers the committed kraft.version.
caught_up: boolThe voter has fetched up to the leader’s log end.
Trait Implementations§
Source§impl Clone for TargetVoter
impl Clone for TargetVoter
Source§fn clone(&self) -> TargetVoter
fn clone(&self) -> TargetVoter
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 TargetVoter
Source§impl Debug for TargetVoter
impl Debug for TargetVoter
impl Eq for TargetVoter
Source§impl PartialEq for TargetVoter
impl PartialEq for TargetVoter
impl StructuralPartialEq for TargetVoter
Auto Trait Implementations§
impl Freeze for TargetVoter
impl RefUnwindSafe for TargetVoter
impl Send for TargetVoter
impl Sync for TargetVoter
impl Unpin for TargetVoter
impl UnsafeUnpin for TargetVoter
impl UnwindSafe for TargetVoter
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