pub struct Config {
pub chunk_size: usize,
pub carry_headroom: usize,
pub ring_slots: usize,
pub initial_carry: Vec<u8>,
pub slot_fill: SlotFill,
}Expand description
Engine tuning. slot size = carry_headroom + chunk_size.
Fields§
§chunk_size: usizeCompressed bytes read per slot.
carry_headroom: usizeBytes reserved at the head of each slot for prepended carry.
ring_slots: usizeSlot-pool depth (slots in flight).
initial_carry: Vec<u8>Bytes to prepend to the first chunk (e.g. a stream header already read).
slot_fill: SlotFillSlot memory-growth strategy. See SlotFill.
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnsafeUnpin for Config
impl UnwindSafe for Config
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