#[repr(i8)]pub enum DecompCode {
Show 13 variants
DecompOk = 0,
EndInput = 1,
OutOverflow = 2,
NameOverflow = 3,
CommentOverflow = 4,
ExtraOverflow = 5,
NeedDict = 6,
InvalidBlock = -1,
InvalidSymbol = -2,
InvalidLoopBack = -3,
InvalidWrapper = -4,
UnsupportedMethod = -5,
IncorrectChecksum = -6,
}Expand description
Decompression return values
Variants§
DecompOk = 0
EndInput = 1
OutOverflow = 2
NameOverflow = 3
CommentOverflow = 4
ExtraOverflow = 5
NeedDict = 6
InvalidBlock = -1
InvalidSymbol = -2
InvalidLoopBack = -3
InvalidWrapper = -4
UnsupportedMethod = -5
IncorrectChecksum = -6
Trait Implementations§
Source§impl Clone for DecompCode
impl Clone for DecompCode
Source§fn clone(&self) -> DecompCode
fn clone(&self) -> DecompCode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for DecompCode
Source§impl Debug for DecompCode
impl Debug for DecompCode
Source§impl PartialEq for DecompCode
impl PartialEq for DecompCode
Source§fn eq(&self, other: &DecompCode) -> bool
fn eq(&self, other: &DecompCode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DecompCode
Auto Trait Implementations§
impl Freeze for DecompCode
impl RefUnwindSafe for DecompCode
impl Send for DecompCode
impl Sync for DecompCode
impl Unpin for DecompCode
impl UnsafeUnpin for DecompCode
impl UnwindSafe for DecompCode
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