Enum ZSTD_EndDirective

#[repr(u32)]
pub enum ZSTD_EndDirective

Variants

ZSTD_e_continue = 0
ZSTD_e_flush = 1
ZSTD_e_end = 2

Trait Implementations

impl Clone for ZSTD_EndDirective

fn clone(&self) -> ZSTD_EndDirective

impl Copy for ZSTD_EndDirective

impl Debug for ZSTD_EndDirective

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

impl Eq for ZSTD_EndDirective

impl Hash for ZSTD_EndDirective

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

impl PartialEq for ZSTD_EndDirective

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

impl StructuralPartialEq for ZSTD_EndDirective

Auto Trait Implementations

impl Freeze for ZSTD_EndDirective

impl RefUnwindSafe for ZSTD_EndDirective

impl Send for ZSTD_EndDirective

impl Sync for ZSTD_EndDirective

impl Unpin for ZSTD_EndDirective

impl UnsafeUnpin for ZSTD_EndDirective

impl UnwindSafe for ZSTD_EndDirective

Blanket Implementations

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

fn type_id(&self) -> TypeId

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

fn borrow(&self) -> &T

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

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

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

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

impl<T> From<T> for ZSTD_EndDirective

fn from(t: T) -> T

Returns the argument unchanged.

impl<T, U> Into<U> for ZSTD_EndDirective 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_EndDirective where U: Into<T>,

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

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

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