pub struct MirrorHealth {
pub mirror_url: String,
pub status: MirrorHealthStatus,
pub status_code: Option<u16>,
pub detail: Option<String>,
}Expand description
What: Record bounded evidence from one mirror health probe.
Inputs:
- Produced for each selected
MirrorInforow in input order.
Output:
- Mirror URL, stable classification, optional final status code, and an actionable error detail when no successful response was received.
Details:
- This is deliberately not a performance ranking and never changes mirror configuration or executes a system command.
Fields§
§mirror_url: StringSource mirror URL that was selected for the probe.
status: MirrorHealthStatusStable reachability classification for this one probe.
status_code: Option<u16>Final HTTP status code when a response was received.
detail: Option<String>Bounded transport or validation detail when the probe was not reachable.
Trait Implementations§
Source§impl Clone for MirrorHealth
impl Clone for MirrorHealth
Source§fn clone(&self) -> MirrorHealth
fn clone(&self) -> MirrorHealth
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 moreSource§impl Debug for MirrorHealth
impl Debug for MirrorHealth
Source§impl<'de> Deserialize<'de> for MirrorHealth
impl<'de> Deserialize<'de> for MirrorHealth
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 MirrorHealth
Source§impl PartialEq for MirrorHealth
impl PartialEq for MirrorHealth
Source§impl Serialize for MirrorHealth
impl Serialize for MirrorHealth
impl StructuralPartialEq for MirrorHealth
Auto Trait Implementations§
impl Freeze for MirrorHealth
impl RefUnwindSafe for MirrorHealth
impl Send for MirrorHealth
impl Sync for MirrorHealth
impl Unpin for MirrorHealth
impl UnsafeUnpin for MirrorHealth
impl UnwindSafe for MirrorHealth
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.