Struct rocksdb::statistics::HistogramData
source · pub struct HistogramData { /* private fields */ }
Implementations§
source§impl HistogramData
impl HistogramData
pub fn new() -> HistogramData
pub fn median(&self) -> f64
pub fn average(&self) -> f64
pub fn p95(&self) -> f64
pub fn p99(&self) -> f64
pub fn max(&self) -> f64
pub fn min(&self) -> f64
pub fn sum(&self) -> u64
pub fn count(&self) -> u64
pub fn std_dev(&self) -> f64
Trait Implementations§
source§impl Default for HistogramData
impl Default for HistogramData
Auto Trait Implementations§
impl Freeze for HistogramData
impl RefUnwindSafe for HistogramData
impl !Send for HistogramData
impl !Sync for HistogramData
impl Unpin for HistogramData
impl UnwindSafe for HistogramData
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