pub struct ChunkSplit {
pub segment_starts: Vec<usize>,
pub decode_segments: usize,
pub consumed: usize,
}Expand description
Result of splitting a chunk into independently-decompressible segments.
Fields§
§segment_starts: Vec<usize>Byte offsets of segment starts (first entry is always 0).
decode_segments: usizeNumber of segments to decode (all if is_last, else n−1).
consumed: usizeBytes consumed from the chunk (for carry computation).
Auto Trait Implementations§
impl Freeze for ChunkSplit
impl RefUnwindSafe for ChunkSplit
impl Send for ChunkSplit
impl Sync for ChunkSplit
impl Unpin for ChunkSplit
impl UnsafeUnpin for ChunkSplit
impl UnwindSafe for ChunkSplit
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