pub struct Header {Show 19 fields
pub version_major: u16,
pub version_minor: u16,
pub flags: u64,
pub created_at: u64,
pub source_bytes_total: u64,
pub file_count: u32,
pub trigram_count: u32,
pub file_table_offset: u64,
pub file_table_size: u64,
pub trigram_table_offset: u64,
pub trigram_table_size: u64,
pub posting_data_offset: u64,
pub posting_data_size: u64,
pub bloom_offset: u64,
pub bloom_size: u64,
pub string_pool_offset: u64,
pub string_pool_size: u64,
pub name_index_offset: u64,
pub name_index_size: u64,
}Expand description
Parsed index header.
Fields§
§version_major: u16§version_minor: u16§flags: u64§created_at: u64§source_bytes_total: u64§file_count: u32§trigram_count: u32§file_table_offset: u64§file_table_size: u64§trigram_table_offset: u64§trigram_table_size: u64§posting_data_offset: u64§posting_data_size: u64§bloom_offset: u64§bloom_size: u64§string_pool_offset: u64§string_pool_size: u64§name_index_offset: u64§name_index_size: u64Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Header
impl RefUnwindSafe for Header
impl Send for Header
impl Sync for Header
impl Unpin for Header
impl UnsafeUnpin for Header
impl UnwindSafe for Header
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<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more