pub enum TopLevelMaintenance {
Vacuum,
WalCheckpointTruncate,
}Expand description
Closed set of parameter-free maintenance statements executed outside the writer’s per-request transaction wrapper.
Every variant renders a static SQL literal. Commands that require a caller value, such as a destination path, need a separate parameter-bound primitive; this set deliberately has no raw SQL variant or string conversion.
Variants§
Vacuum
Reclaim unused database pages with VACUUM.
WalCheckpointTruncate
Checkpoint the write-ahead log and truncate it to zero bytes.
Implementations§
Trait Implementations§
Source§impl Clone for TopLevelMaintenance
impl Clone for TopLevelMaintenance
impl Copy for TopLevelMaintenance
Source§impl Debug for TopLevelMaintenance
impl Debug for TopLevelMaintenance
impl Eq for TopLevelMaintenance
Source§impl PartialEq for TopLevelMaintenance
impl PartialEq for TopLevelMaintenance
impl StructuralPartialEq for TopLevelMaintenance
Auto Trait Implementations§
impl Freeze for TopLevelMaintenance
impl RefUnwindSafe for TopLevelMaintenance
impl Send for TopLevelMaintenance
impl Sync for TopLevelMaintenance
impl Unpin for TopLevelMaintenance
impl UnsafeUnpin for TopLevelMaintenance
impl UnwindSafe for TopLevelMaintenance
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