pub struct Stat {
pub mean: Duration,
pub p50: Duration,
pub p95: Duration,
pub max: Duration,
}Expand description
Mean, 95th percentile and maximum of a set of durations.
Fields§
§mean: DurationThe mean.
p50: DurationThe median.
p95: DurationThe nearest sample at the 95th percentile.
max: DurationThe longest.
Trait Implementations§
impl Copy for Stat
impl StructuralPartialEq for Stat
Auto Trait Implementations§
impl Forget for Stat
impl Freeze for Stat
impl Move for Stat
impl RefUnwindSafe for Stat
impl Send for Stat
impl Sync for Stat
impl Unpin for Stat
impl UnsafeUnpin for Stat
impl UnwindSafe for Stat
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