Struct metrics_generic::PeriodicLogger
source · pub struct PeriodicLogger;
Expand description
A logging struct meant for use in tracking and periodically logging a single metric. The metric is aggregated over the designated time period. Intended for use with high-frequency metrics.
Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for PeriodicLogger
impl Send for PeriodicLogger
impl Sync for PeriodicLogger
impl Unpin for PeriodicLogger
impl UnwindSafe for PeriodicLogger
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