Enum miniz_oxide::deflate::core::TDEFLStatus [−][src]
#[repr(i32)]
pub enum TDEFLStatus {
BadParam,
PutBufFailed,
Okay,
Done,
}
Expand description
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
.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for TDEFLStatus
impl Send for TDEFLStatus
impl Sync for TDEFLStatus
impl Unpin for TDEFLStatus
impl UnwindSafe for TDEFLStatus
Blanket Implementations
Mutably borrows from an owned value. Read more