pub struct BlockMeta {
pub offset: u64,
pub compressed_size: u32,
pub uncompressed_size: u32,
pub checksum: u32,
pub first_key: RowKey,
pub last_key: RowKey,
pub entry_count: u32,
}Expand description
Block metadata for efficient reading
Fields§
§offset: u64Block offset in file
compressed_size: u32Compressed size in bytes
uncompressed_size: u32Uncompressed size in bytes
checksum: u32Block checksum
first_key: RowKeyFirst key in block
last_key: RowKeyLast key in block
entry_count: u32Number of entries in block
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BlockMeta
impl RefUnwindSafe for BlockMeta
impl Send for BlockMeta
impl Sync for BlockMeta
impl Unpin for BlockMeta
impl UnsafeUnpin for BlockMeta
impl UnwindSafe for BlockMeta
Blanket Implementations§
impl<T> Allocation for T
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