pub enum LzmaDecoderParams {
Auto {
mem_limit: u64,
flags: u32,
},
Lzip {
mem_limit: u64,
flags: u32,
},
Lzma {
mem_limit: u64,
},
Raw {
filters: LzmaFilters,
},
Stream {
mem_limit: u64,
flags: u32,
},
MultiThread {
builder: MtStreamBuilder,
},
}Available on crate feature
lzma only.Expand description
Directly translate to how the stream is constructed
Variants§
Auto
Lzip
Lzma
Raw
Fields
§
filters: LzmaFiltersStream
MultiThread
Available on crate feature
xz-parallel only.Fields
§
builder: MtStreamBuilderTrait Implementations§
Source§impl Clone for LzmaDecoderParams
impl Clone for LzmaDecoderParams
Source§fn clone(&self) -> LzmaDecoderParams
fn clone(&self) -> LzmaDecoderParams
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 LzmaDecoderParams
impl Debug for LzmaDecoderParams
Source§impl TryFrom<&LzmaDecoderParams> for Stream
impl TryFrom<&LzmaDecoderParams> for Stream
Source§impl TryFrom<LzmaDecoderParams> for Xz2Decoder
impl TryFrom<LzmaDecoderParams> for Xz2Decoder
Auto Trait Implementations§
impl Freeze for LzmaDecoderParams
impl RefUnwindSafe for LzmaDecoderParams
impl Send for LzmaDecoderParams
impl Sync for LzmaDecoderParams
impl Unpin for LzmaDecoderParams
impl UnwindSafe for LzmaDecoderParams
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