#[repr(i32)]pub enum TDEFLStatus {
BadParam = -2,
PutBufFailed = -1,
Okay = 0,
Done = 1,
}
Expand description
Return status of compression.
Variants§
BadParam = -2
Usage error.
This indicates that either the CompressorOxide
experienced a previous error, or the
stream has already been TDEFLFlush::Finish
’d.
PutBufFailed = -1
Error putting data into output buffer.
This usually indicates a too-small buffer.
Okay = 0
Compression succeeded normally.
Done = 1
Compression succeeded and the deflate stream was ended.
This is the result of calling compression with TDEFLFlush::Finish
.
Trait Implementations§
Source§impl Clone for TDEFLStatus
impl Clone for TDEFLStatus
Source§fn clone(&self) -> TDEFLStatus
fn clone(&self) -> TDEFLStatus
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 TDEFLStatus
impl Debug for TDEFLStatus
Source§impl Hash for TDEFLStatus
impl Hash for TDEFLStatus
Source§impl PartialEq for TDEFLStatus
impl PartialEq for TDEFLStatus
impl Copy for TDEFLStatus
impl Eq for TDEFLStatus
impl StructuralPartialEq for TDEFLStatus
Auto Trait Implementations§
impl Freeze for TDEFLStatus
impl RefUnwindSafe for TDEFLStatus
impl Send for TDEFLStatus
impl Sync for TDEFLStatus
impl Unpin for TDEFLStatus
impl UnwindSafe for TDEFLStatus
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