pub enum ProbeResult {
Acked,
IndirectAcked,
Failed,
}Expand description
Outcome of one probe period against a target, as observed by the prober. This is the input the I/O shell feeds the state machine after a ping / ping-req round completes.
Variants§
Acked
The direct ping was acked (target is clearly alive).
IndirectAcked
The direct ping timed out but an indirect (PING-REQ) probe drew an ack: the target is alive; the prober’s own path to it is the problem. This is a Lifeguard “nack” against the prober and raises its nack score.
Failed
Neither the direct ping nor any indirect probe drew an ack.
Trait Implementations§
Source§impl Clone for ProbeResult
impl Clone for ProbeResult
Source§fn clone(&self) -> ProbeResult
fn clone(&self) -> ProbeResult
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 ProbeResult
Source§impl Debug for ProbeResult
impl Debug for ProbeResult
impl Eq for ProbeResult
Source§impl PartialEq for ProbeResult
impl PartialEq for ProbeResult
Source§fn eq(&self, other: &ProbeResult) -> bool
fn eq(&self, other: &ProbeResult) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ProbeResult
Auto Trait Implementations§
impl Freeze for ProbeResult
impl RefUnwindSafe for ProbeResult
impl Send for ProbeResult
impl Sync for ProbeResult
impl Unpin for ProbeResult
impl UnsafeUnpin for ProbeResult
impl UnwindSafe for ProbeResult
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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§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.