#[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 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 DecompCode
impl Debug for DecompCode
Source§impl PartialEq for DecompCode
impl PartialEq for DecompCode
Source§impl TryFrom<i32> for DecompCode
impl TryFrom<i32> for DecompCode
impl Copy for DecompCode
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 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