pub enum ErrorKind {
CorruptInputData,
OverflowError,
OutOfRange,
}
Expand description
Type of error encountered during compression or decompression.
Variants
CorruptInputData
Encoding or decoding fails due to corrupt input data.
OverflowError
Next number to compress overflows i64
type.
OutOfRange
Number is out-of-range of [i32::min_value(), i32::max_value()]
.
Trait Implementations
impl Copy for ErrorKind
impl Eq for ErrorKind
impl StructuralEq for ErrorKind
impl StructuralPartialEq for ErrorKind
Auto Trait Implementations
impl RefUnwindSafe for ErrorKind
impl Send for ErrorKind
impl Sync for ErrorKind
impl Unpin for ErrorKind
impl UnwindSafe for ErrorKind
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more