pub struct ExponentialHistogramParams<T: Clone> {
pub floor: T,
pub initial_step: T,
pub step_multiplier: T,
pub buckets: usize,
}
Expand description
The parameters of an exponential histogram.
Fields§
§floor: T
The floor of the exponential histogram.
initial_step: T
The initial step of the exponential histogram.
step_multiplier: T
The step multiplier of the exponential histogram.
buckets: usize
The number of buckets that the exponential histogram can have. This doesn’t include the overflow and underflow buckets.
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for ExponentialHistogramParams<T>where
T: Freeze,
impl<T> RefUnwindSafe for ExponentialHistogramParams<T>where
T: RefUnwindSafe,
impl<T> Send for ExponentialHistogramParams<T>where
T: Send,
impl<T> Sync for ExponentialHistogramParams<T>where
T: Sync,
impl<T> Unpin for ExponentialHistogramParams<T>where
T: Unpin,
impl<T> UnwindSafe for ExponentialHistogramParams<T>where
T: UnwindSafe,
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)