pub struct FilHeader {
pub checksum: u32,
pub page_number: u32,
pub prev_page: u32,
pub next_page: u32,
pub lsn: u64,
pub page_type: PageType,
pub flush_lsn: u64,
pub space_id: u32,
}Expand description
Parsed FIL header (38 bytes, present at the start of every InnoDB page).
Fields§
§checksum: u32Checksum (or space id in older formats). Bytes 0-3.
page_number: u32Page number within the tablespace. Bytes 4-7.
prev_page: u32Previous page in the doubly-linked list. Bytes 8-11. FIL_NULL (0xFFFFFFFF) if not used.
next_page: u32Next page in the doubly-linked list. Bytes 12-15. FIL_NULL (0xFFFFFFFF) if not used.
lsn: u64LSN of newest modification to this page. Bytes 16-23.
page_type: PageTypePage type. Bytes 24-25.
flush_lsn: u64Flush LSN (only meaningful for page 0 of system tablespace). Bytes 26-33.
space_id: u32Space ID this page belongs to. Bytes 34-37.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FilHeader
impl RefUnwindSafe for FilHeader
impl Send for FilHeader
impl Sync for FilHeader
impl Unpin for FilHeader
impl UnwindSafe for FilHeader
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