pub struct Toc {
pub symbols: u64,
pub series: u64,
pub label_indices: u64,
pub label_indices_table: u64,
pub postings: u64,
pub postings_table: u64,
}Expand description
The index table of contents: absolute file offsets of every section.
All values are byte offsets from the start of the index file. Sections this
crate does not parse (label_indices, postings) are kept so callers can
see the layout and compute section boundaries.
Fields§
§symbols: u64Symbol table offset.
series: u64Series section offset, 16-byte aligned on v2/v3.
label_indices: u64Label index section offset.
label_indices_table: u64Label index table offset.
postings: u64Postings section offset.
postings_table: u64Postings table offset.
Trait Implementations§
Auto Trait Implementations§
impl Forget for Toc
impl Freeze for Toc
impl Move for Toc
impl RefUnwindSafe for Toc
impl Send for Toc
impl Sync for Toc
impl Unpin for Toc
impl UnsafeUnpin for Toc
impl UnwindSafe for Toc
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