pub struct DecompressionOptions {
pub dict_size_log2: u32,
pub table_update_rate: TableUpdateRate,
pub decompression_flags: Option<DecompressionFlag>,
pub num_seed_bytes: Option<u32>,
pub p_seed_bytes: Option<Vec<u8>>,
pub table_update_interval: Option<TableUpdateInterval>,
}
Expand description
Options to tweak decompression.
Fields§
§dict_size_log2: u32
The base 2 log of the dictionary size.
table_update_rate: TableUpdateRate
The table update rate.
It can be overwritten by specifying table_update_interval
.
decompression_flags: Option<DecompressionFlag>
Flags to pass to the decompression.
Currently unimplemented.
num_seed_bytes: Option<u32>
Number of seed bytes to load.
p_seed_bytes: Option<Vec<u8>>
A vector of seed bytes to load.
table_update_interval: Option<TableUpdateInterval>
The table update interval.
Trait Implementations§
Source§impl Clone for DecompressionOptions
impl Clone for DecompressionOptions
Source§fn clone(&self) -> DecompressionOptions
fn clone(&self) -> DecompressionOptions
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for DecompressionOptions
impl Debug for DecompressionOptions
Auto Trait Implementations§
impl Freeze for DecompressionOptions
impl RefUnwindSafe for DecompressionOptions
impl Send for DecompressionOptions
impl Sync for DecompressionOptions
impl Unpin for DecompressionOptions
impl UnwindSafe for DecompressionOptions
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