pub struct CompressionOptions {
pub dict_size_log2: u32,
pub compression_level: CompressionLevel,
pub table_update_rate: TableUpdateRate,
pub max_helper_threads: i32,
pub compression_flags: Option<CompressionFlag>,
pub num_seed_bytes: Option<u32>,
pub p_seed_bytes: Option<Vec<u8>>,
pub table_update_interval: Option<TableUpdateInterval>,
}Expand description
Options to tweak compression.
Fields§
§dict_size_log2: u32The base 2 log of the dictionary size.
compression_level: CompressionLevelThe level of compression.
table_update_rate: TableUpdateRateThe table update rate.
It can be overwritten by specifying table_update_interval.
max_helper_threads: i32The maximum number of helper threads to use.
compression_flags: Option<CompressionFlag>Flags to pass to the compression.
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 CompressionOptions
impl Clone for CompressionOptions
Source§fn clone(&self) -> CompressionOptions
fn clone(&self) -> CompressionOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CompressionOptions
impl Debug for CompressionOptions
Auto Trait Implementations§
impl Freeze for CompressionOptions
impl RefUnwindSafe for CompressionOptions
impl Send for CompressionOptions
impl Sync for CompressionOptions
impl Unpin for CompressionOptions
impl UnsafeUnpin for CompressionOptions
impl UnwindSafe for CompressionOptions
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