pub struct Options {
pub dynamic_block_size: bool,
pub block_size: usize,
pub matching: bool,
pub probe_max: usize,
pub lazy_match: bool,
pub match_channel_size: usize,
}Expand description
Compression options.
Fields§
§dynamic_block_size: boolEnable dynamic block sizes, can increase compression.
block_size: usizeBlock size.
matching: boolEnable matching.
probe_max: usizeLimits search for longest match.
lazy_match: boolEnable “lazy matching” per RFC 1951 p.15.
match_channel_size: usizeNot currently used.
Auto Trait Implementations§
impl Freeze for Options
impl RefUnwindSafe for Options
impl Send for Options
impl Sync for Options
impl Unpin for Options
impl UnwindSafe for Options
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