pub struct SystemCheckpointSettings {
pub enabled: bool,
pub verify: bool,
}Expand description
Environment switches, read once at boot.
Fields§
§enabled: boolALLSOURCE_SYSTEM_CHECKPOINT, default on. Off means boot replays the
whole WAL and no checkpoint is written.
verify: boolALLSOURCE_SYSTEM_CHECKPOINT_VERIFY, default off. On compares the
checkpoint a boot loaded with a full replay of the WAL, in the
background, and rejects every checkpoint if they differ.
Implementations§
Trait Implementations§
Source§impl Clone for SystemCheckpointSettings
impl Clone for SystemCheckpointSettings
impl Copy for SystemCheckpointSettings
Source§impl Debug for SystemCheckpointSettings
impl Debug for SystemCheckpointSettings
Auto Trait Implementations§
impl Forget for SystemCheckpointSettings
impl Freeze for SystemCheckpointSettings
impl RefUnwindSafe for SystemCheckpointSettings
impl Send for SystemCheckpointSettings
impl Sync for SystemCheckpointSettings
impl Unpin for SystemCheckpointSettings
impl UnsafeUnpin for SystemCheckpointSettings
impl UnwindSafe for SystemCheckpointSettings
Blanket Implementations§
impl<T> Allocation for T
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