pub enum LzmaEncoderParams {
Easy {
preset: u32,
check: Check,
},
Lzma {
options: LzmaOptions,
},
Raw {
filters: LzmaFilters,
},
Stream {
filters: LzmaFilters,
check: Check,
},
MultiThread {
builder: MtStreamBuilder,
},
}
Available on crate feature
lzma
only.Expand description
Used to control how the LZMA stream is created.
Variants§
Easy
Lzma
Fields
§
options: LzmaOptions
Raw
Fields
§
filters: LzmaFilters
Stream
MultiThread
Available on crate feature
xz-parallel
only.Fields
§
builder: MtStreamBuilder
Trait Implementations§
Source§impl Clone for LzmaEncoderParams
impl Clone for LzmaEncoderParams
Source§fn clone(&self) -> LzmaEncoderParams
fn clone(&self) -> LzmaEncoderParams
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 LzmaEncoderParams
impl Debug for LzmaEncoderParams
Source§impl TryFrom<&LzmaEncoderParams> for Stream
impl TryFrom<&LzmaEncoderParams> for Stream
Source§impl TryFrom<LzmaEncoderParams> for Xz2Encoder
impl TryFrom<LzmaEncoderParams> for Xz2Encoder
Auto Trait Implementations§
impl Freeze for LzmaEncoderParams
impl RefUnwindSafe for LzmaEncoderParams
impl Send for LzmaEncoderParams
impl Sync for LzmaEncoderParams
impl Unpin for LzmaEncoderParams
impl UnwindSafe for LzmaEncoderParams
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