Enum DeflateError
pub enum DeflateError
Errors that can occur when compressing.
Variants
-
StreamError = -2 The
Deflateis 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 DeflateError
fn as_str(self) -> &'static str
Trait Implementations
impl Clone for DeflateError
fn clone(&self) -> Self
impl Copy for DeflateError
impl Debug for DeflateError
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Eq for DeflateError
impl PartialEq for DeflateError
fn eq(&self, other: &Self) -> bool