pub struct ExponentialHistogramParams<T>where
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§
source§impl<T> Clone for ExponentialHistogramParams<T>where
T: Clone,
impl<T> Clone for ExponentialHistogramParams<T>where
T: Clone,
source§fn clone(&self) -> ExponentialHistogramParams<T>
fn clone(&self) -> ExponentialHistogramParams<T>
Returns a copy 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 moreAuto 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
)