pub enum AggregatedMetrics {
F64(MetricData<f64>),
U64(MetricData<u64>),
I64(MetricData<i64>),
}Expand description
Aggregated metrics data from an instrument
Variants§
F64(MetricData<f64>)
All metric data with f64 value type
U64(MetricData<u64>)
All metric data with u64 value type
I64(MetricData<i64>)
All metric data with i64 value type
Trait Implementations§
Source§impl Debug for AggregatedMetrics
impl Debug for AggregatedMetrics
Source§impl From<MetricData<f64>> for AggregatedMetrics
impl From<MetricData<f64>> for AggregatedMetrics
Source§fn from(value: MetricData<f64>) -> Self
fn from(value: MetricData<f64>) -> Self
Converts to this type from the input type.
Source§impl From<MetricData<i64>> for AggregatedMetrics
impl From<MetricData<i64>> for AggregatedMetrics
Source§fn from(value: MetricData<i64>) -> Self
fn from(value: MetricData<i64>) -> Self
Converts to this type from the input type.
Source§impl From<MetricData<u64>> for AggregatedMetrics
impl From<MetricData<u64>> for AggregatedMetrics
Source§fn from(value: MetricData<u64>) -> Self
fn from(value: MetricData<u64>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AggregatedMetrics
impl RefUnwindSafe for AggregatedMetrics
impl Send for AggregatedMetrics
impl Sync for AggregatedMetrics
impl Unpin for AggregatedMetrics
impl UnwindSafe for AggregatedMetrics
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