pub struct BackendStats {
pub total_metrics: usize,
pub counter_count: usize,
pub gauge_count: usize,
pub histogram_count: usize,
pub estimated_memory_bytes: usize,
}
Expand description
Statistics about the metrics backend
Fields§
§total_metrics: usize
Total number of metrics stored
counter_count: usize
Number of counters
gauge_count: usize
Number of gauges
histogram_count: usize
Number of histograms
estimated_memory_bytes: usize
Approximate memory usage in bytes
Trait Implementations§
Source§impl Clone for BackendStats
impl Clone for BackendStats
Source§fn clone(&self) -> BackendStats
fn clone(&self) -> BackendStats
Returns a duplicate of the value. Read more
1.0.0 · 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 Freeze for BackendStats
impl RefUnwindSafe for BackendStats
impl Send for BackendStats
impl Sync for BackendStats
impl Unpin for BackendStats
impl UnwindSafe for BackendStats
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