pub struct LatencyBucket {
pub min_ns: u64,
pub max_ns: u64,
pub count: u64,
}Expand description
Individual histogram bucket for latency distribution
Fields§
§min_ns: u64Lower bound of this bucket in nanoseconds (inclusive)
max_ns: u64Upper bound of this bucket in nanoseconds (exclusive)
count: u64Number of samples in this bucket
Trait Implementations§
Source§impl Clone for LatencyBucket
impl Clone for LatencyBucket
Source§fn clone(&self) -> LatencyBucket
fn clone(&self) -> LatencyBucket
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for LatencyBucket
impl RefUnwindSafe for LatencyBucket
impl Send for LatencyBucket
impl Sync for LatencyBucket
impl Unpin for LatencyBucket
impl UnwindSafe for LatencyBucket
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