pub enum LiveIsr {
Empty,
WitnessesOnly,
Electable,
}Expand description
What the live members of the partition’s ISR can do once the leader is gone. Every live ISR member holds every committed record; a witness is a live member that never leads.
Variants§
Empty
No ISR member is live.
WitnessesOnly
Every live ISR member is a witness, so none can lead.
Electable
A live ISR member that is not a witness can lead.
Trait Implementations§
impl Copy for LiveIsr
impl Eq for LiveIsr
impl StructuralPartialEq for LiveIsr
Auto Trait Implementations§
impl Freeze for LiveIsr
impl RefUnwindSafe for LiveIsr
impl Send for LiveIsr
impl Sync for LiveIsr
impl Unpin for LiveIsr
impl UnsafeUnpin for LiveIsr
impl UnwindSafe for LiveIsr
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