Enum Strategy
#[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§
§impl Clone for ZSTD_strategy
impl Clone for ZSTD_strategy
§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 more§impl Debug for ZSTD_strategy
impl Debug for ZSTD_strategy
§impl Hash for ZSTD_strategy
impl Hash for ZSTD_strategy
§impl PartialEq for ZSTD_strategy
impl PartialEq for ZSTD_strategy
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: 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
)