pub struct FailoverFacts {
pub leader_dead: bool,
pub isr_shrunk: bool,
pub live_isr: LiveIsr,
pub out_of_isr: OutOfIsrFacts,
}Expand description
What the host established about one partition before the failover decision. The kernel does not see replica sets; every field is the host’s classification of them.
Fields§
§leader_dead: boolThe partition’s leader is the replica that went away.
isr_shrunk: boolThe live ISR is smaller than the recorded ISR.
live_isr: LiveIsrWhat the live ISR members can do.
out_of_isr: OutOfIsrFactsThe options left when no ISR member is live.
Trait Implementations§
Source§impl Clone for FailoverFacts
impl Clone for FailoverFacts
Source§fn clone(&self) -> FailoverFacts
fn clone(&self) -> FailoverFacts
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 FailoverFacts
Source§impl Debug for FailoverFacts
impl Debug for FailoverFacts
impl Eq for FailoverFacts
Source§impl PartialEq for FailoverFacts
impl PartialEq for FailoverFacts
impl StructuralPartialEq for FailoverFacts
Auto Trait Implementations§
impl Freeze for FailoverFacts
impl RefUnwindSafe for FailoverFacts
impl Send for FailoverFacts
impl Sync for FailoverFacts
impl Unpin for FailoverFacts
impl UnsafeUnpin for FailoverFacts
impl UnwindSafe for FailoverFacts
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