pub struct StreamingHistogram { /* private fields */ }Expand description
Streaming histogram for latency percentiles
Implementations§
Source§impl StreamingHistogram
impl StreamingHistogram
Sourcepub fn percentile(&self, p: u8) -> u64
pub fn percentile(&self, p: u8) -> u64
Get percentile value
Trait Implementations§
Source§impl Clone for StreamingHistogram
impl Clone for StreamingHistogram
Source§fn clone(&self) -> StreamingHistogram
fn clone(&self) -> StreamingHistogram
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 StreamingHistogram
impl Debug for StreamingHistogram
Source§impl Default for StreamingHistogram
impl Default for StreamingHistogram
Source§impl<'de> Deserialize<'de> for StreamingHistogram
impl<'de> Deserialize<'de> for StreamingHistogram
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 StreamingHistogram
impl RefUnwindSafe for StreamingHistogram
impl Send for StreamingHistogram
impl Sync for StreamingHistogram
impl Unpin for StreamingHistogram
impl UnsafeUnpin for StreamingHistogram
impl UnwindSafe for StreamingHistogram
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