Struct relay_cogs::NoopRecorder
source · pub struct NoopRecorder;
Expand description
A recorder which discards all measurements.
Trait Implementations§
source§impl CogsRecorder for NoopRecorder
impl CogsRecorder for NoopRecorder
source§fn record(&self, _: CogsMeasurement)
fn record(&self, _: CogsMeasurement)
Record a single COGS measurement.
Auto Trait Implementations§
impl Freeze for NoopRecorder
impl RefUnwindSafe for NoopRecorder
impl Send for NoopRecorder
impl Sync for NoopRecorder
impl Unpin for NoopRecorder
impl UnwindSafe for NoopRecorder
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