Enum InflateError
#[repr(i32)]
pub enum InflateError
Errors that can occur when decompressing.
Variants
-
NeedDict { dict_id: u32 } = 2 Decompressing this input requires a dictionary.
-
StreamError = -2 The
Inflateis in an inconsistent state, most likely due to an invalid configuration parameter.-
DataError = -3 The input is not a valid deflate stream.
-
MemError = -4 A memory allocation failed.
Implementations
impl InflateError
fn as_str(self) -> &'static str
Trait Implementations
impl Clone for InflateError
fn clone(&self) -> Self
impl Copy for InflateError
impl Debug for InflateError
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Eq for InflateError
impl PartialEq for InflateError
fn eq(&self, other: &Self) -> bool