pub struct RetainedLogLag {}Expand description
Wires an optional [retained_log::LogLagSource] into a Config,
gated by the retained-log feature so Config itself needs no
feature flag. Build with [RetainedLogLag::new], or use
Default::default to leave lag reporting disabled.
Trait Implementations§
Source§impl Clone for RetainedLogLag
impl Clone for RetainedLogLag
Source§fn clone(&self) -> RetainedLogLag
fn clone(&self) -> RetainedLogLag
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 moreSource§impl Default for RetainedLogLag
impl Default for RetainedLogLag
Source§fn default() -> RetainedLogLag
fn default() -> RetainedLogLag
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RetainedLogLag
impl RefUnwindSafe for RetainedLogLag
impl Send for RetainedLogLag
impl Sync for RetainedLogLag
impl Unpin for RetainedLogLag
impl UnsafeUnpin for RetainedLogLag
impl UnwindSafe for RetainedLogLag
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