pub struct LogOps;Expand description
LogOps
Implementations§
Source§impl LogOps
impl LogOps
Sourcepub fn start_retention()
pub fn start_retention()
Start periodic log retention sweeps. Safe to call multiple times.
Sourcepub fn stop_retention()
pub fn stop_retention()
Stop periodic retention sweeps.
Sourcepub fn retain() -> bool
pub fn retain() -> bool
Run a retention sweep immediately. This enforces configured retention limits on stable logs.
Auto Trait Implementations§
impl Freeze for LogOps
impl RefUnwindSafe for LogOps
impl Send for LogOps
impl Sync for LogOps
impl Unpin for LogOps
impl UnwindSafe for LogOps
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