pub struct Footer {
pub checksum_type: ChecksumType,
pub metaindex_handle: BlockHandle,
pub index_handle: BlockHandle,
pub format_version: u32,
pub base_context_checksum: Option<u32>,
}
Fields§
§checksum_type: ChecksumType
§metaindex_handle: BlockHandle
§index_handle: BlockHandle
§format_version: u32
§base_context_checksum: Option<u32>
Base context checksum used as entropy source for footer checksum calculation. Only present in format version 6 and higher. This value is combined with the footer’s file offset to create a unique checksum modifier, preventing block reuse attacks by ensuring checksums are position-dependent.
Implementations§
Trait Implementations§
Auto Trait Implementations§
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