pub struct CacheSizeMetric {
metrics: CacheSizeMetrics,
gauge: IntGauge,
}Expand description
A byte metric with labels bound for one or more cache instances.
Fields§
§metrics: CacheSizeMetrics§gauge: IntGaugeImplementations§
Trait Implementations§
Source§impl Clone for CacheSizeMetric
impl Clone for CacheSizeMetric
Source§fn clone(&self) -> CacheSizeMetric
fn clone(&self) -> CacheSizeMetric
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for CacheSizeMetric
impl !UnwindSafe for CacheSizeMetric
impl Freeze for CacheSizeMetric
impl Send for CacheSizeMetric
impl Sync for CacheSizeMetric
impl Unpin for CacheSizeMetric
impl UnsafeUnpin for CacheSizeMetric
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