pub struct LatencyStats {
pub min: u64,
pub p50: u64,
pub p95: u64,
pub max: u64,
pub mean: f64,
}Expand description
Latency distribution over all case runs, nearest-rank percentiles.
Fields§
§min: u64Fastest run (ms).
p50: u64Median run (ms).
p95: u6495th-percentile run (ms).
max: u64Slowest run (ms).
mean: f64Mean latency (ms).
Trait Implementations§
Source§impl Clone for LatencyStats
impl Clone for LatencyStats
impl Copy for LatencyStats
Source§impl Debug for LatencyStats
impl Debug for LatencyStats
Source§impl<'de> Deserialize<'de> for LatencyStats
impl<'de> Deserialize<'de> for LatencyStats
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
Source§impl PartialEq for LatencyStats
impl PartialEq for LatencyStats
Source§impl Serialize for LatencyStats
impl Serialize for LatencyStats
impl StructuralPartialEq for LatencyStats
Auto Trait Implementations§
impl Freeze for LatencyStats
impl RefUnwindSafe for LatencyStats
impl Send for LatencyStats
impl Sync for LatencyStats
impl Unpin for LatencyStats
impl UnsafeUnpin for LatencyStats
impl UnwindSafe for LatencyStats
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