pub struct ZstdOptions { /* private fields */ }Expand description
ZSTD options.
For details refer to their crappy documentation: http://facebook.github.io/zstd/zstd_manual.html#Chapter6
Implementations§
Source§impl ZstdOptions
impl ZstdOptions
Sourcepub const fn window_log(self, window_log: i32) -> Self
pub const fn window_log(self, window_log: i32) -> Self
Sets window_log
This acts as cap on window_log, refusing to decompress anything above it. Normally, default value is all you need.
Trait Implementations§
Source§impl Clone for ZstdOptions
impl Clone for ZstdOptions
Source§fn clone(&self) -> ZstdOptions
fn clone(&self) -> ZstdOptions
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 Default for ZstdOptions
impl Default for ZstdOptions
impl Copy for ZstdOptions
Auto Trait Implementations§
impl Freeze for ZstdOptions
impl RefUnwindSafe for ZstdOptions
impl Send for ZstdOptions
impl Sync for ZstdOptions
impl Unpin for ZstdOptions
impl UnwindSafe for ZstdOptions
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