pub struct NoopMetrics;Expand description
A no-op metrics observer. Compiles to nothing.
Trait Implementations§
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 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for NoopMetrics
Source§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