pub struct IndexHeader {
pub entry_count: u64,
pub block_size: u32,
pub block_count: u32,
pub l1_bits: u8,
pub starts_codec: Codec,
pub rids_codec: Codec,
pub starts_zstd_dict_id: u16,
pub rids_zstd_dict_id: u16,
}Expand description
Fixed 32-byte header at the start of Section 5 (Ipv4Index) and Section 6 (Ipv6Index).
Fields§
§entry_count: u64§block_size: u32§block_count: u32§l1_bits: u8§starts_codec: Codec§rids_codec: Codec§starts_zstd_dict_id: u16§rids_zstd_dict_id: u16Implementations§
Trait Implementations§
Source§impl Clone for IndexHeader
impl Clone for IndexHeader
impl Copy for IndexHeader
Source§impl Debug for IndexHeader
impl Debug for IndexHeader
impl Eq for IndexHeader
Source§impl PartialEq for IndexHeader
impl PartialEq for IndexHeader
impl StructuralPartialEq for IndexHeader
Auto Trait Implementations§
impl Forget for IndexHeader
impl Freeze for IndexHeader
impl Move for IndexHeader
impl RefUnwindSafe for IndexHeader
impl Send for IndexHeader
impl Sync for IndexHeader
impl Unpin for IndexHeader
impl UnsafeUnpin for IndexHeader
impl UnwindSafe for IndexHeader
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