Struct opentelemetry::sdk::export::metrics::Metadata [−][src]
pub struct Metadata<'a> { /* fields omitted */ }
This is supported on crate feature
metrics
only.A container for the common elements for exported metric data that are shared
by the Accumulator
->Processor
and Processor
->Exporter
steps.
Implementations
impl<'a> Metadata<'a>
[src]
impl<'a> Metadata<'a>
[src]pub fn new(
descriptor: &'a Descriptor,
labels: &'a LabelSet,
resource: &'a Resource
) -> Self
[src]
pub fn new(
descriptor: &'a Descriptor,
labels: &'a LabelSet,
resource: &'a Resource
) -> Self
[src]Create a new Metadata
instance.
pub fn descriptor(&self) -> &Descriptor
[src]
pub fn descriptor(&self) -> &Descriptor
[src]A description of the metric instrument being exported.
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for Metadata<'a>
impl<'a> Send for Metadata<'a>
impl<'a> Sync for Metadata<'a>
impl<'a> Unpin for Metadata<'a>
impl<'a> UnwindSafe for Metadata<'a>
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,