pub struct DbHeader {
pub page_count: u32,
pub schema_root_page: u32,
pub format_version: u16,
}Expand description
Parsed header. page_count includes page 0 itself.
Fields§
§page_count: u32§schema_root_page: u32§format_version: u16On-disk format version this header carries. Tracked explicitly so save can preserve a v4 file as v4 (no FTS) or bump it to v5 (FTS present), per Phase 8c’s on-demand bump strategy.
Trait Implementations§
impl Copy for DbHeader
impl Eq for DbHeader
impl StructuralPartialEq for DbHeader
Auto Trait Implementations§
impl Freeze for DbHeader
impl RefUnwindSafe for DbHeader
impl Send for DbHeader
impl Sync for DbHeader
impl Unpin for DbHeader
impl UnsafeUnpin for DbHeader
impl UnwindSafe for DbHeader
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.