pub struct ServerStatData {
pub latency_median: u32,
pub fail_rate: f64,
pub latency_stdev: f64,
pub latency_mean: f64,
pub latency_mad: u32,
}Expand description
Server statistic data
Fields§
§latency_median: u32Median of latency time (in millisec)
Use median instead of average time, because probing result may have some really bad cases
fail_rate: f64Total_Fail / Total_Probe
latency_stdev: f64Score’s standard deviation
latency_mean: f64Score’s average
latency_mad: u32Score’s median absolute deviation
Trait Implementations§
Source§impl Clone for ServerStatData
impl Clone for ServerStatData
Source§fn clone(&self) -> ServerStatData
fn clone(&self) -> ServerStatData
Returns a duplicate of the value. Read more
1.0.0 · 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 ServerStatData
impl Debug for ServerStatData
impl Copy for ServerStatData
Auto Trait Implementations§
impl Freeze for ServerStatData
impl RefUnwindSafe for ServerStatData
impl Send for ServerStatData
impl Sync for ServerStatData
impl Unpin for ServerStatData
impl UnwindSafe for ServerStatData
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