Enum ZSTD_strategy

#[repr(u32)]
pub enum ZSTD_strategy

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

fn clone(&self) -> ZSTD_strategy

impl Copy for ZSTD_strategy

impl Debug for ZSTD_strategy

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl Eq for ZSTD_strategy

impl Hash for ZSTD_strategy

fn hash<__H: Hasher>(&self, state: &mut __H)

impl PartialEq for ZSTD_strategy

fn eq(&self, other: &ZSTD_strategy) -> bool

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 UnsafeUnpin for ZSTD_strategy

impl UnwindSafe for ZSTD_strategy

Blanket Implementations

impl<T> Any for ZSTD_strategy where T: 'static + ?Sized,

fn type_id(&self) -> TypeId

impl<T> Borrow<T> for ZSTD_strategy where T: ?Sized,

fn borrow(&self) -> &T

impl<T> BorrowMut<T> for ZSTD_strategy where T: ?Sized,

fn borrow_mut(&mut self) -> &mut T

impl<T> CloneToUninit for ZSTD_strategy where T: Clone,

unsafe fn clone_to_uninit(&self, dest: *mut u8)

impl<T> From<T> for ZSTD_strategy

fn from(t: T) -> T

Returns the argument unchanged.

impl<T, U> Into<U> for ZSTD_strategy where U: From<T>,

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom<U> for ZSTD_strategy where U: Into<T>,

type Error = never;
fn try_from(value: U) -> Result<T, never>

impl<T, U> TryInto<U> for ZSTD_strategy where U: TryFrom<T>,

type Error = <U as TryFrom<T>>::Error;
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>