pub struct EventMetric<K> { /* private fields */ }Expand description
Developer-facing API for recording event metrics.
Instances of this class type are automatically generated by the parsers at build time, allowing developers to record values that were previously registered in the metrics.yaml file.
Implementations§
Auto Trait Implementations§
impl<K> Forget for EventMetric<K>
impl<K> Freeze for EventMetric<K>where
PhantomData<K>: Freeze,
impl<K> Move for EventMetric<K>
impl<K> RefUnwindSafe for EventMetric<K>where
PhantomData<K>: RefUnwindSafe,
impl<K> Send for EventMetric<K>where
PhantomData<K>: Send,
impl<K> Sync for EventMetric<K>where
PhantomData<K>: Sync,
impl<K> Unpin for EventMetric<K>where
PhantomData<K>: Unpin,
impl<K> UnsafeUnpin for EventMetric<K>where
PhantomData<K>: UnsafeUnpin,
impl<K> UnwindSafe for EventMetric<K>where
PhantomData<K>: 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