pub struct Freelist {
pub page_index: u32,
pub count: u32,
}
Expand description
Unused pages in the database file are stored on a freelist. The 4-byte big-endian integer at offset 32 stores the page number of the first page of the freelist, or zero if the freelist is empty. The 4-byte big-endian integer at offset 36 stores stores the total number of pages on the freelist.
Fields§
§page_index: u32
§count: u32
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Freelist
impl RefUnwindSafe for Freelist
impl Send for Freelist
impl Sync for Freelist
impl Unpin for Freelist
impl UnwindSafe for Freelist
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