pub struct GenericGaugeVec<P: Atomic>(/* private fields */);Implementations§
Source§impl<P: Atomic> GenericGaugeVec<P>
impl<P: Atomic> GenericGaugeVec<P>
pub fn new_some(inner: GenericGaugeVec<P>) -> Self
pub fn new_none() -> Self
pub fn with_label_values<V>(&self, vals: &[V]) -> GenericGauge<P>
pub fn remove_label_values<V>(&self, vals: &[V]) -> Result<()>
pub fn get_metric_with<V, S: BuildHasher>( &self, labels: &HashMap<&str, V, S>, ) -> Result<GenericGauge<P>>
pub fn get_metric_with_label_values<V>( &self, vals: &[V], ) -> Result<GenericGauge<P>>
pub fn reset(&self)
Trait Implementations§
Source§impl<P: Atomic> Clone for GenericGaugeVec<P>
impl<P: Atomic> Clone for GenericGaugeVec<P>
Source§impl<P: Atomic> Collector for GenericGaugeVec<P>
impl<P: Atomic> Collector for GenericGaugeVec<P>
Auto Trait Implementations§
impl<P> Freeze for GenericGaugeVec<P>
impl<P> !RefUnwindSafe for GenericGaugeVec<P>
impl<P> Send for GenericGaugeVec<P>
impl<P> Sync for GenericGaugeVec<P>
impl<P> Unpin for GenericGaugeVec<P>
impl<P> UnsafeUnpin for GenericGaugeVec<P>
impl<P> !UnwindSafe for GenericGaugeVec<P>
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