pub struct Sec06 {
pub kind: u8,
pub max_block: u32,
pub offset: u64,
pub len: u64,
pub digest: [u8; 16],
}Expand description
One entry of the root’s section table.
Fields§
§kind: u8kind.
max_block: u32The largest decompressed block of the section (a dictionary chunk, a
tile, a leaf, …), as the writer measured it; 0 = not recorded, read
under BLOCK_CEILING. Readers refuse to decode past it.
offset: u64Offset relative to its region base (the front base, or data_offset).
len: u64Stored length.
digest: [u8; 16]BLAKE3(stored bytes)[..16].
Implementations§
Trait Implementations§
impl Copy for Sec06
impl Eq for Sec06
impl StructuralPartialEq for Sec06
Auto Trait Implementations§
impl Freeze for Sec06
impl RefUnwindSafe for Sec06
impl Send for Sec06
impl Sync for Sec06
impl Unpin for Sec06
impl UnsafeUnpin for Sec06
impl UnwindSafe for Sec06
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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