pub struct MetricsCollection { /* private fields */ }
Expand description
A pair of observable gauges(single, multi)
Implementations§
Source§impl MetricsCollection
impl MetricsCollection
Sourcepub fn new(meter: &Meter, q: CustomQuery) -> Self
pub fn new(meter: &Meter, q: CustomQuery) -> Self
Creates new collection using a query info.
Auto Trait Implementations§
impl Freeze for MetricsCollection
impl !RefUnwindSafe for MetricsCollection
impl Send for MetricsCollection
impl Sync for MetricsCollection
impl Unpin for MetricsCollection
impl !UnwindSafe for MetricsCollection
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