pub struct ScopeMetrics { /* private fields */ }Expand description
A collection of metrics produced by a meter.
Implementations§
Source§impl ScopeMetrics
impl ScopeMetrics
Sourcepub fn scope(&self) -> &InstrumentationScope
pub fn scope(&self) -> &InstrumentationScope
Returns a reference to the InstrumentationScope in ScopeMetrics.
Trait Implementations§
Source§impl Debug for ScopeMetrics
impl Debug for ScopeMetrics
Source§impl Default for ScopeMetrics
impl Default for ScopeMetrics
Source§fn default() -> ScopeMetrics
fn default() -> ScopeMetrics
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ScopeMetrics
impl RefUnwindSafe for ScopeMetrics
impl Send for ScopeMetrics
impl Sync for ScopeMetrics
impl Unpin for ScopeMetrics
impl UnwindSafe for ScopeMetrics
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