pub struct Footer {
pub generation: u64,
pub index_offset: u64,
pub schema_offset: u64,
pub schema_len: u32,
pub record_count: u32,
pub file_len: u64,
pub next_record_id: u64,
}Expand description
A parsed footer — the authoritative statement of a file’s committed state.
Fields§
§generation: u64Monotonic commit counter, starting at 1.
index_offset: u64§schema_offset: u64§schema_len: u32§record_count: u32§file_len: u64Committed extent. Bytes at or beyond this are uncommitted debris.
next_record_id: u64The id the next appended record will take. Persisted rather than derived from the index, so removing the highest-id record cannot cause an id to be handed out twice.
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