pub enum VerdictStatus {
Failed,
Recovered,
}Expand description
Which way a verdict went.
Failure and recovery are not distinguishable by incarnation: both
legitimately name the epoch whose heartbeats the detector was
tracking. A consumer handed only {node_id, addr, epoch} therefore
cannot tell a stale failure from the recovery that superseded it,
which is how a delayed failure callback ends up tearing down routes
a recovery has already restored.
Variants§
Failed
The detector declared this incarnation failed.
Recovered
Heartbeats resumed for this incarnation.
Trait Implementations§
Source§impl Clone for VerdictStatus
impl Clone for VerdictStatus
Source§fn clone(&self) -> VerdictStatus
fn clone(&self) -> VerdictStatus
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 VerdictStatus
Source§impl Debug for VerdictStatus
impl Debug for VerdictStatus
impl Eq for VerdictStatus
Source§impl PartialEq for VerdictStatus
impl PartialEq for VerdictStatus
impl StructuralPartialEq for VerdictStatus
Auto Trait Implementations§
impl Freeze for VerdictStatus
impl RefUnwindSafe for VerdictStatus
impl Send for VerdictStatus
impl Sync for VerdictStatus
impl Unpin for VerdictStatus
impl UnsafeUnpin for VerdictStatus
impl UnwindSafe for VerdictStatus
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.