pub struct LatencyHistogram { /* private fields */ }Expand description
Latency histogram for tracking percentiles
Implementations§
Source§impl LatencyHistogram
impl LatencyHistogram
Sourcepub fn percentile(&self, p: u8) -> u64
pub fn percentile(&self, p: u8) -> u64
Get percentile value
Trait Implementations§
Source§impl Clone for LatencyHistogram
impl Clone for LatencyHistogram
Source§fn clone(&self) -> LatencyHistogram
fn clone(&self) -> LatencyHistogram
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LatencyHistogram
impl Debug for LatencyHistogram
Source§impl Default for LatencyHistogram
impl Default for LatencyHistogram
Source§impl<'de> Deserialize<'de> for LatencyHistogram
impl<'de> Deserialize<'de> for LatencyHistogram
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
Auto Trait Implementations§
impl Freeze for LatencyHistogram
impl RefUnwindSafe for LatencyHistogram
impl Send for LatencyHistogram
impl Sync for LatencyHistogram
impl Unpin for LatencyHistogram
impl UnsafeUnpin for LatencyHistogram
impl UnwindSafe for LatencyHistogram
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