pub enum PartitionPhase {
Suspected,
Confirmed,
Healing {
reappeared: Vec<u64>,
},
Healed,
}Expand description
Lifecycle phase of a detected partition.
Variants§
Suspected
Partition suspected but not confirmed.
Confirmed
Partition confirmed (other side is alive but unreachable).
Healing
Partition healing — some nodes reappearing.
Healed
Partition healed, reconciliation needed.
Trait Implementations§
Source§impl Clone for PartitionPhase
impl Clone for PartitionPhase
Source§fn clone(&self) -> PartitionPhase
fn clone(&self) -> PartitionPhase
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 moreSource§impl Debug for PartitionPhase
impl Debug for PartitionPhase
Source§impl PartialEq for PartitionPhase
impl PartialEq for PartitionPhase
Source§fn eq(&self, other: &PartitionPhase) -> bool
fn eq(&self, other: &PartitionPhase) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for PartitionPhase
impl StructuralPartialEq for PartitionPhase
Auto Trait Implementations§
impl Freeze for PartitionPhase
impl RefUnwindSafe for PartitionPhase
impl Send for PartitionPhase
impl Sync for PartitionPhase
impl Unpin for PartitionPhase
impl UnsafeUnpin for PartitionPhase
impl UnwindSafe for PartitionPhase
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.