Struct async_compression::zstd::DParameter
source · pub struct DParameter(/* private fields */);
Expand description
A decompression parameter for zstd. This is a stable wrapper around zstd’s own DParameter
type, to abstract over different versions of the zstd library.
See the zstd documentation for more information on these parameters.
Implementations§
source§impl DParameter
impl DParameter
sourcepub fn window_log_max(value: u32) -> Self
pub fn window_log_max(value: u32) -> Self
Maximum window size in bytes (as a power of two)
Trait Implementations§
source§impl Clone for DParameter
impl Clone for DParameter
source§fn clone(&self) -> DParameter
fn clone(&self) -> DParameter
Returns a copy 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 DParameter
impl Debug for DParameter
source§impl PartialEq for DParameter
impl PartialEq for DParameter
impl Copy for DParameter
impl Eq for DParameter
impl StructuralPartialEq for DParameter
Auto Trait Implementations§
impl Freeze for DParameter
impl RefUnwindSafe for DParameter
impl Send for DParameter
impl Sync for DParameter
impl Unpin for DParameter
impl UnwindSafe for DParameter
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)