Enum glean_core::LabeledMetricData
source · pub enum LabeledMetricData {
Common {
cmd: CommonMetricData,
},
CustomDistribution {
cmd: CommonMetricData,
range_min: i64,
range_max: i64,
bucket_count: i64,
histogram_type: HistogramType,
},
MemoryDistribution {
cmd: CommonMetricData,
unit: MemoryUnit,
},
TimingDistribution {
cmd: CommonMetricData,
unit: TimeUnit,
},
}
Expand description
The metric data needed to construct inner submetrics.
Different Labeled metrics require different amounts and kinds of information to be constructed.
Variants§
Common
Fields
§
cmd: CommonMetricData
The common case: just a CMD.
CustomDistribution
The custom_distribution-specific case.
MemoryDistribution
The memory_distribution-specific case.
TimingDistribution
The timing_distribution-specific case.
Auto Trait Implementations§
impl RefUnwindSafe for LabeledMetricData
impl Send for LabeledMetricData
impl Sync for LabeledMetricData
impl Unpin for LabeledMetricData
impl UnwindSafe for LabeledMetricData
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
§impl<T, UT> HandleAlloc<UT> for T
impl<T, UT> HandleAlloc<UT> for T
§fn new_handle(value: Arc<T>) -> Handle
fn new_handle(value: Arc<T>) -> Handle
Create a new handle for an Arc value Read more
§unsafe fn clone_handle(handle: Handle) -> Handle
unsafe fn clone_handle(handle: Handle) -> Handle
Clone a handle Read more
§unsafe fn consume_handle(handle: Handle) -> Arc<T>
unsafe fn consume_handle(handle: Handle) -> Arc<T>
Consume a handle, getting back the initial
Arc<>
Read more