pub enum FailureDetectorKind {
AckWindow,
PhiAccrual,
}Expand description
Which algorithm derives per-peer reachability on the leader.
Variants§
AckWindow
Silence longer than the reachability window marks a peer unreachable;
recovery requires a fresh ack within window − hysteresis.
PhiAccrual
Inter-arrival statistics; suspect when φ exceeds the configured threshold.
Trait Implementations§
Source§impl Clone for FailureDetectorKind
impl Clone for FailureDetectorKind
Source§fn clone(&self) -> FailureDetectorKind
fn clone(&self) -> FailureDetectorKind
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 FailureDetectorKind
Source§impl Debug for FailureDetectorKind
impl Debug for FailureDetectorKind
Source§impl Default for FailureDetectorKind
impl Default for FailureDetectorKind
Source§fn default() -> FailureDetectorKind
fn default() -> FailureDetectorKind
Returns the “default value” for a type. Read more
impl Eq for FailureDetectorKind
Source§impl PartialEq for FailureDetectorKind
impl PartialEq for FailureDetectorKind
impl StructuralPartialEq for FailureDetectorKind
Auto Trait Implementations§
impl Freeze for FailureDetectorKind
impl RefUnwindSafe for FailureDetectorKind
impl Send for FailureDetectorKind
impl Sync for FailureDetectorKind
impl Unpin for FailureDetectorKind
impl UnsafeUnpin for FailureDetectorKind
impl UnwindSafe for FailureDetectorKind
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