pub struct IncrementalVacuumSettings {
pub largest_root_btree_page: LargestRootBtreePage,
pub incremental_vacuum_mode: IncrementalVacuumMode,
}Expand description
Incremental vacuum settings (8 Bytes)
The two 4-byte big-endian integers at offsets 52 and 64 are used to manage the auto_vacuum and incremental_vacuum modes. If the integer at offset 52 is zero then pointer-map (ptrmap) pages are omitted from the database file and neither auto_vacuum nor incremental_vacuum are supported. If the integer at offset 52 is non-zero then it is the page number of the largest root page in the database file, the database file will contain ptrmap pages, and the mode must be either auto_vacuum or incremental_vacuum. In this latter case, the integer at offset 64 is true for incremental_vacuum and false for auto_vacuum. If the integer at offset 52 is zero then the integer at offset 64 must also be zero.
Fields§
§largest_root_btree_page: LargestRootBtreePage§incremental_vacuum_mode: IncrementalVacuumModeImplementations§
Source§impl IncrementalVacuumSettings
impl IncrementalVacuumSettings
pub fn largest_root_btree_page(&self) -> &LargestRootBtreePage
pub fn incremental_vacuum_mode(&self) -> &IncrementalVacuumMode
Trait Implementations§
Source§impl Debug for IncrementalVacuumSettings
impl Debug for IncrementalVacuumSettings
Source§impl Default for IncrementalVacuumSettings
impl Default for IncrementalVacuumSettings
Source§fn default() -> IncrementalVacuumSettings
fn default() -> IncrementalVacuumSettings
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for IncrementalVacuumSettings
impl RefUnwindSafe for IncrementalVacuumSettings
impl Send for IncrementalVacuumSettings
impl Sync for IncrementalVacuumSettings
impl Unpin for IncrementalVacuumSettings
impl UnwindSafe for IncrementalVacuumSettings
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