pub struct LatencyStats {
pub samples: usize,
pub p50: u64,
pub p95: u64,
pub p99: u64,
pub max: u64,
}Expand description
p50 / p95 / p99 / max latency percentiles, all in milliseconds.
Fields§
§samples: usizeNumber of records that carried a latency_ms attribute.
p50: u6450th percentile (median).
p95: u6495th percentile.
p99: u6499th percentile.
max: u64Maximum.
Trait Implementations§
Source§impl Clone for LatencyStats
impl Clone for LatencyStats
Source§fn clone(&self) -> LatencyStats
fn clone(&self) -> LatencyStats
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 LatencyStats
Source§impl Debug for LatencyStats
impl Debug for LatencyStats
Source§impl Default for LatencyStats
impl Default for LatencyStats
Source§fn default() -> LatencyStats
fn default() -> LatencyStats
Returns the “default value” for a type. Read more
impl Eq for LatencyStats
Source§impl PartialEq for LatencyStats
impl PartialEq for LatencyStats
Source§fn eq(&self, other: &LatencyStats) -> bool
fn eq(&self, other: &LatencyStats) -> bool
Tests for
self and other values to be equal, and is used by ==.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
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§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.