Struct glean_core::metrics::DistributionData
source · Expand description
A snapshot of all buckets and the accumulated sum of a distribution.
Fields§
§values: HashMap<i64, i64>
A map containig the bucket index mapped to the accumulated count.
This can contain buckets with a count of 0
.
sum: i64
The accumulated sum of all the samples in the distribution.
count: i64
The total number of entries in the distribution.
Trait Implementations§
source§impl Debug for DistributionData
impl Debug for DistributionData
Auto Trait Implementations§
impl RefUnwindSafe for DistributionData
impl Send for DistributionData
impl Sync for DistributionData
impl Unpin for DistributionData
impl UnwindSafe for DistributionData
Blanket Implementations§
§impl<T, UT> HandleAlloc<UT> for Twhere
T: Send + Sync,
impl<T, UT> HandleAlloc<UT> for Twhere
T: Send + Sync,
§fn new_handle(value: Arc<T>) -> Handle
fn new_handle(value: Arc<T>) -> Handle
Create a new handle for an Arc value Read more
§fn clone_handle(handle: Handle) -> Handle
fn clone_handle(handle: Handle) -> Handle
Clone a handle Read more
§fn consume_handle(handle: Handle) -> Arc<T>
fn consume_handle(handle: Handle) -> Arc<T>
Consume a handle, getting back the initial
Arc<>