pub struct CompressionOptions {
pub max_memory: Option<usize>,
pub validate_blocks: bool,
pub collect_stats: bool,
pub preferred_compression: CompressionType,
}Expand description
Compression options for bundle processing
Fields§
§max_memory: Option<usize>Maximum memory to use for decompression
validate_blocks: boolWhether to validate blocks before decompression
collect_stats: boolWhether to collect compression statistics
preferred_compression: CompressionTypePreferred compression type for new bundles
Implementations§
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 · 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 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