pub enum ProbeOutcome {
Healthy {
status: u16,
latency: Duration,
},
GeoBlocked {
status: u16,
},
Unreachable {
reason: String,
},
}Variants§
Implementations§
Source§impl ProbeOutcome
impl ProbeOutcome
pub fn is_healthy(&self) -> bool
Trait Implementations§
Source§impl Clone for ProbeOutcome
impl Clone for ProbeOutcome
Source§impl Debug for ProbeOutcome
impl Debug for ProbeOutcome
impl Eq for ProbeOutcome
Source§impl PartialEq for ProbeOutcome
impl PartialEq for ProbeOutcome
impl StructuralPartialEq for ProbeOutcome
Auto Trait Implementations§
impl Forget for ProbeOutcome
impl Freeze for ProbeOutcome
impl Move for ProbeOutcome
impl RefUnwindSafe for ProbeOutcome
impl Send for ProbeOutcomewhere
RawVecInner: Send,
impl Sync for ProbeOutcomewhere
RawVecInner: Sync,
impl Unpin for ProbeOutcome
impl UnsafeUnpin for ProbeOutcome
impl UnwindSafe for ProbeOutcomewhere
RawVecInner: UnwindSafe,
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.