Enum ReturnCode
#[repr(i32)]
pub enum ReturnCode
Variants
-
Ok = 0 -
StreamEnd = 1 -
NeedDict = 2 -
ErrNo = -1 -
StreamError = -2 -
DataError = -3 -
MemError = -4 -
BufError = -5 -
VersionError = -6
Implementations
impl ReturnCode
const fn error_message(self) -> *const c_charconst fn try_from_c_int(err: c_int) -> Option<Self>
Trait Implementations
impl Clone for ReturnCode
fn clone(&self) -> Self
impl Copy for ReturnCode
impl Debug for ReturnCode
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Eq for ReturnCode
impl From<DeflateError> for ReturnCode
fn from(value: DeflateError) -> Self
impl From<InflateError> for ReturnCode
fn from(value: InflateError) -> Self
impl From<i32> for ReturnCode
fn from(value: i32) -> Self
impl PartialEq for ReturnCode
fn eq(&self, other: &Self) -> bool