Enum miniz_oxide::inflate::TINFLStatus
source · [−]#[repr(i8)]
pub enum TINFLStatus {
FailedCannotMakeProgress,
BadParam,
Adler32Mismatch,
Failed,
Done,
NeedsMoreInput,
HasMoreOutput,
}
Expand description
Return status codes.
Variants
FailedCannotMakeProgress
More input data was expected, but the caller indicated that there was more data, so the input stream is likely truncated.
BadParam
One or more of the input parameters were invalid.
Adler32Mismatch
The decompression went fine, but the adler32 checksum did not match the one provided in the header.
Failed
Failed to decompress due to invalid data.
Done
Finished decomression without issues.
NeedsMoreInput
The decompressor needs more input data to continue decompressing.
HasMoreOutput
There is still pending data that didn’t fit in the output buffer.
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for TINFLStatus
impl Send for TINFLStatus
impl Sync for TINFLStatus
impl Unpin for TINFLStatus
impl UnwindSafe for TINFLStatus
Blanket Implementations
Mutably borrows from an owned value. Read more