pub enum IsrMemberRole {
Unassigned,
Leader,
InSyncFollower,
OutOfSyncFollower,
}Expand description
Where one candidate stands in the partition the leader maintains.
Variants§
Unassigned
A current ISR member that is no longer assigned.
Leader
The assigned leader.
InSyncFollower
An assigned follower in the current ISR.
OutOfSyncFollower
An assigned follower outside the current ISR.
Trait Implementations§
Source§impl Clone for IsrMemberRole
impl Clone for IsrMemberRole
Source§fn clone(&self) -> IsrMemberRole
fn clone(&self) -> IsrMemberRole
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 IsrMemberRole
Source§impl Debug for IsrMemberRole
impl Debug for IsrMemberRole
impl Eq for IsrMemberRole
Source§impl PartialEq for IsrMemberRole
impl PartialEq for IsrMemberRole
impl StructuralPartialEq for IsrMemberRole
Auto Trait Implementations§
impl Freeze for IsrMemberRole
impl RefUnwindSafe for IsrMemberRole
impl Send for IsrMemberRole
impl Sync for IsrMemberRole
impl Unpin for IsrMemberRole
impl UnsafeUnpin for IsrMemberRole
impl UnwindSafe for IsrMemberRole
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