pub enum FailoverAction {
ElectClean,
ElectFromElr,
ElectLastKnown,
Recover(FailoverRecovery),
ElectUnclean,
Unavailable,
ShrinkIsr,
NoChange,
}Expand description
Safety action selected after the host classifies live ISR and replicas.
Variants§
ElectClean
ElectFromElr
ElectLastKnown
The partition’s single last-known leader comes back as an unclean
leader (Kafka’s canElectLastKnownLeader).
Recover(FailoverRecovery)
ElectUnclean
ShrinkIsr
NoChange
Trait Implementations§
Source§impl Clone for FailoverAction
impl Clone for FailoverAction
Source§fn clone(&self) -> FailoverAction
fn clone(&self) -> FailoverAction
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 FailoverAction
Source§impl Debug for FailoverAction
impl Debug for FailoverAction
impl Eq for FailoverAction
Source§impl PartialEq for FailoverAction
impl PartialEq for FailoverAction
impl StructuralPartialEq for FailoverAction
Auto Trait Implementations§
impl Freeze for FailoverAction
impl RefUnwindSafe for FailoverAction
impl Send for FailoverAction
impl Sync for FailoverAction
impl Unpin for FailoverAction
impl UnsafeUnpin for FailoverAction
impl UnwindSafe for FailoverAction
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