#[repr(u32)]pub enum Strategy {
ZSTD_fast = 1,
ZSTD_dfast = 2,
ZSTD_greedy = 3,
ZSTD_lazy = 4,
ZSTD_lazy2 = 5,
ZSTD_btlazy2 = 6,
ZSTD_btopt = 7,
ZSTD_btultra = 8,
ZSTD_btultra2 = 9,
}
Expand description
How to compress data. Advanced compression API (Requires v1.4.0+)
Variants§
ZSTD_fast = 1
ZSTD_dfast = 2
ZSTD_greedy = 3
ZSTD_lazy = 4
ZSTD_lazy2 = 5
ZSTD_btlazy2 = 6
ZSTD_btopt = 7
ZSTD_btultra = 8
ZSTD_btultra2 = 9
Trait Implementations§
source§impl Clone for ZSTD_strategy
impl Clone for ZSTD_strategy
source§fn clone(&self) -> ZSTD_strategy
fn clone(&self) -> ZSTD_strategy
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 ZSTD_strategy
impl Debug for ZSTD_strategy
source§impl Hash for ZSTD_strategy
impl Hash for ZSTD_strategy
source§impl PartialEq for ZSTD_strategy
impl PartialEq for ZSTD_strategy
source§fn eq(&self, other: &ZSTD_strategy) -> bool
fn eq(&self, other: &ZSTD_strategy) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ZSTD_strategy
impl Eq for ZSTD_strategy
impl StructuralPartialEq for ZSTD_strategy
Auto Trait Implementations§
impl Freeze for ZSTD_strategy
impl RefUnwindSafe for ZSTD_strategy
impl Send for ZSTD_strategy
impl Sync for ZSTD_strategy
impl Unpin for ZSTD_strategy
impl UnwindSafe for ZSTD_strategy
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: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
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
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)