pub struct Distribution {
pub p50: u32,
pub p95: u32,
pub max: u32,
pub count: usize,
}Expand description
One windowed phase’s current reading: nearest-rank p50/p95/max over
whatever RingStats currently holds, plus count – the denominator
a reader must check alongside the three numbers, since count below
SAMPLE_WINDOW means “the process hasn’t produced a full window yet,”
not “the window is smaller than advertised.”
Fields§
§p50: u32§p95: u32§max: u32§count: usizeTrait Implementations§
Source§impl Clone for Distribution
impl Clone for Distribution
impl Copy for Distribution
Source§impl Debug for Distribution
impl Debug for Distribution
Source§impl Default for Distribution
impl Default for Distribution
impl Eq for Distribution
Source§impl PartialEq for Distribution
impl PartialEq for Distribution
impl StructuralPartialEq for Distribution
Auto Trait Implementations§
impl Freeze for Distribution
impl RefUnwindSafe for Distribution
impl Send for Distribution
impl Sync for Distribution
impl Unpin for Distribution
impl UnsafeUnpin for Distribution
impl UnwindSafe for Distribution
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