pub struct MtStreamBuilder { /* private fields */ }
Available on crate features
lzma
and xz-parallel
only.Expand description
Used to build a clonable mt stream builder
Implementations§
Source§impl MtStreamBuilder
impl MtStreamBuilder
pub fn block_size(&mut self, block_size: u64) -> &mut Self
pub fn preset(&mut self, preset: u32) -> &mut Self
pub fn check(&mut self, check: Check) -> &mut Self
pub fn filters(&mut self, filters: LzmaFilters) -> &mut Self
pub fn mem_limit_stop(&mut self, mem_limit_stop: u64) -> &mut Self
pub fn mem_limit_threading(&mut self, mem_limit_threading: u64) -> &mut Self
pub fn threads(&mut self, threads: NonZeroU32) -> &mut Self
pub fn timeout_ms(&mut self, timeout_ms: u32) -> &mut Self
Trait Implementations§
Source§impl Clone for MtStreamBuilder
impl Clone for MtStreamBuilder
Source§fn clone(&self) -> MtStreamBuilder
fn clone(&self) -> MtStreamBuilder
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 MtStreamBuilder
impl Debug for MtStreamBuilder
Source§impl Default for MtStreamBuilder
impl Default for MtStreamBuilder
Source§fn default() -> MtStreamBuilder
fn default() -> MtStreamBuilder
Returns the “default value” for a type. Read more
Source§impl TryFrom<&MtStreamBuilder> for MtStreamBuilder
impl TryFrom<&MtStreamBuilder> for MtStreamBuilder
Auto Trait Implementations§
impl Freeze for MtStreamBuilder
impl RefUnwindSafe for MtStreamBuilder
impl Send for MtStreamBuilder
impl Sync for MtStreamBuilder
impl Unpin for MtStreamBuilder
impl UnwindSafe for MtStreamBuilder
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