pub enum MirrorHealthStatus {
Reachable,
Unreachable,
Invalid,
}Expand description
What: Represent the reachability classification of one mirror probe.
Inputs:
- Produced from a single caller-selected HTTP(S) probe response or error.
Output:
- A stable status without a latency ranking or aggregate score.
Details:
- A success status means the final response status was 2xx under the caller’s reqwest redirect policy; it is not a broad performance claim.
Variants§
Reachable
The probe completed with a successful 2xx HTTP status.
Unreachable
The probe returned a non-success status or transport error.
Invalid
The source mirror URL or caller probe path was invalid for this request.
Trait Implementations§
Source§impl Clone for MirrorHealthStatus
impl Clone for MirrorHealthStatus
Source§fn clone(&self) -> MirrorHealthStatus
fn clone(&self) -> MirrorHealthStatus
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 MirrorHealthStatus
Source§impl Debug for MirrorHealthStatus
impl Debug for MirrorHealthStatus
Source§impl<'de> Deserialize<'de> for MirrorHealthStatus
impl<'de> Deserialize<'de> for MirrorHealthStatus
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for MirrorHealthStatus
Source§impl PartialEq for MirrorHealthStatus
impl PartialEq for MirrorHealthStatus
Source§impl Serialize for MirrorHealthStatus
impl Serialize for MirrorHealthStatus
impl StructuralPartialEq for MirrorHealthStatus
Auto Trait Implementations§
impl Freeze for MirrorHealthStatus
impl RefUnwindSafe for MirrorHealthStatus
impl Send for MirrorHealthStatus
impl Sync for MirrorHealthStatus
impl Unpin for MirrorHealthStatus
impl UnsafeUnpin for MirrorHealthStatus
impl UnwindSafe for MirrorHealthStatus
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.