pub enum LogMode {
Immediate,
Periodic(u64),
}
Variants§
Immediate
Emit logs as soon as a metric is updated
Periodic(u64)
Aggregate metrics for the specified duration, in seconds, before emitting a log
Auto Trait Implementations§
impl Freeze for LogMode
impl RefUnwindSafe for LogMode
impl Send for LogMode
impl Sync for LogMode
impl Unpin for LogMode
impl UnwindSafe for LogMode
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