pub enum CheckpointTick {
Skipped,
Observed(u64),
}Expand description
Outcome of a single checkpoint attempt.
Skipped is returned when the dedicated connection is unavailable or its
PASSIVE result is busy or inconsistent and has no usable WAL frame
observation. A concurrent pool writer does not cause a skip: the task never
checks out its writer mutex. Observed carries the WAL page count read
during the tick. A skipped tick leaves threshold-crossing state unchanged.
Variants§
Skipped
No usable WAL frame observation was available this tick.
Observed(u64)
A checkpoint was issued; the value is the observed WAL page count.
Trait Implementations§
Source§impl Clone for CheckpointTick
impl Clone for CheckpointTick
impl Copy for CheckpointTick
Source§impl Debug for CheckpointTick
impl Debug for CheckpointTick
impl Eq for CheckpointTick
Source§impl PartialEq for CheckpointTick
impl PartialEq for CheckpointTick
impl StructuralPartialEq for CheckpointTick
Auto Trait Implementations§
impl Forget for CheckpointTick
impl Freeze for CheckpointTick
impl RefUnwindSafe for CheckpointTick
impl Send for CheckpointTick
impl Sync for CheckpointTick
impl Unpin for CheckpointTick
impl UnsafeUnpin for CheckpointTick
impl UnwindSafe for CheckpointTick
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