Enum TDEFLStatus

enum TDEFLStatus

Return status of compression.

Variants

BadParam

Usage error.

This indicates that either the CompressorOxide experienced a previous error, or the stream has already been TDEFLFlush::Finish'd.

PutBufFailed

Error putting data into output buffer.

This usually indicates a too-small buffer.

Okay

Compression succeeded normally.

Done

Compression succeeded and the deflate stream was ended.

This is the result of calling compression with TDEFLFlush::Finish.

Implementations

impl Clone for TDEFLStatus

fn clone(self: &Self) -> TDEFLStatus

impl Copy for TDEFLStatus

impl Debug for TDEFLStatus

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

impl Eq for TDEFLStatus

impl Freeze for TDEFLStatus

impl Hash for TDEFLStatus

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

impl PartialEq for TDEFLStatus

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

impl RefUnwindSafe for TDEFLStatus

impl Send for TDEFLStatus

impl StructuralPartialEq for TDEFLStatus

impl Sync for TDEFLStatus

impl Unpin for TDEFLStatus

impl UnsafeUnpin for TDEFLStatus

impl UnwindSafe for TDEFLStatus

impl<T> Any for TDEFLStatus

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for TDEFLStatus

fn borrow(self: &Self) -> &T

impl<T> BorrowMut for TDEFLStatus

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

impl<T> CloneToUninit for TDEFLStatus

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

impl<T> From for TDEFLStatus

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> ToOwned for TDEFLStatus

fn to_owned(self: &Self) -> T
fn clone_into(self: &Self, target: &mut T)

impl<T, U> Into for TDEFLStatus

fn into(self: 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 for TDEFLStatus

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto for TDEFLStatus

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