#[repr(u32)]pub enum Strategy {
ZSTD_fast,
ZSTD_dfast,
ZSTD_greedy,
ZSTD_lazy,
ZSTD_lazy2,
ZSTD_btlazy2,
ZSTD_btopt,
ZSTD_btultra,
ZSTD_btultra2,
}
Expand description
How to compress data. Advanced compression API (Requires v1.4.0+)
Variants§
ZSTD_fast
ZSTD_dfast
ZSTD_greedy
ZSTD_lazy
ZSTD_lazy2
ZSTD_btlazy2
ZSTD_btopt
ZSTD_btultra
ZSTD_btultra2
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<ZSTD_strategy> for ZSTD_strategy
impl PartialEq<ZSTD_strategy> 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 StructuralEq for ZSTD_strategy
impl StructuralPartialEq for ZSTD_strategy
Auto Trait Implementations§
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