pub struct NoopMetrics;Expand description
No-op metrics implementation.
Trait Implementations§
Source§impl AudioMetrics for NoopMetrics
impl AudioMetrics for NoopMetrics
fn record_latency(&self, _stage: &str, _duration_ms: f64)
fn increment_counter(&self, _name: &str)
Source§impl Clone for NoopMetrics
impl Clone for NoopMetrics
Source§fn clone(&self) -> NoopMetrics
fn clone(&self) -> NoopMetrics
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 moreSource§impl Debug for NoopMetrics
impl Debug for NoopMetrics
Source§impl Default for NoopMetrics
impl Default for NoopMetrics
Source§fn default() -> NoopMetrics
fn default() -> NoopMetrics
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for NoopMetrics
impl RefUnwindSafe for NoopMetrics
impl Send for NoopMetrics
impl Sync for NoopMetrics
impl Unpin for NoopMetrics
impl UnsafeUnpin for NoopMetrics
impl UnwindSafe for NoopMetrics
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