Enum zlib_rs::ReturnCode
source · #[repr(i32)]pub enum ReturnCode {
Ok = 0,
StreamEnd = 1,
NeedDict = 2,
ErrNo = -1,
StreamError = -2,
DataError = -3,
MemError = -4,
BufError = -5,
VersionError = -6,
}
Variants§
Ok = 0
StreamEnd = 1
NeedDict = 2
ErrNo = -1
StreamError = -2
DataError = -3
MemError = -4
BufError = -5
VersionError = -6
Trait Implementations§
source§impl Clone for ReturnCode
impl Clone for ReturnCode
source§fn clone(&self) -> ReturnCode
fn clone(&self) -> ReturnCode
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ReturnCode
impl Debug for ReturnCode
source§impl From<i32> for ReturnCode
impl From<i32> for ReturnCode
source§impl PartialEq for ReturnCode
impl PartialEq for ReturnCode
source§fn eq(&self, other: &ReturnCode) -> bool
fn eq(&self, other: &ReturnCode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ReturnCode
impl Eq for ReturnCode
impl StructuralPartialEq for ReturnCode
Auto Trait Implementations§
impl RefUnwindSafe for ReturnCode
impl Send for ReturnCode
impl Sync for ReturnCode
impl Unpin for ReturnCode
impl UnwindSafe for ReturnCode
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more