pub struct Vacuum {
pub largest_root_btree_page: u32,
pub mode: VacuumMode,
}
Expand description
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: u32
§mode: VacuumMode
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Vacuum
impl RefUnwindSafe for Vacuum
impl Send for Vacuum
impl Sync for Vacuum
impl Unpin for Vacuum
impl UnwindSafe for Vacuum
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