Enum q_compress::errors::ErrorKind
source · pub enum ErrorKind {
Compatibility,
Corruption,
InsufficientData,
InvalidArgument,
}
Expand description
The different kinds of errors for q_compress
.
Variants§
Compatibility
Compatibility
errors occur during decompression, indicating the library
version is not up-to-date enough for the provided data.
Corruption
Corruption
errors occur during decompression, indicating the
provided data is inconsistent or violates the Quantile Compression format.
It also applies to cases where standalone files were read but a wrapped
format was detected, or vice versa.
InsufficientData
InsufficientData
errors occur during decompression, indicating
the decompressor reached the end of the provided data before finishing.
InvalidArgument
InvalidArgument
errors usually occur during compression, indicating
the parameters provided to a function were invalid.
Trait Implementations§
source§impl PartialEq<ErrorKind> for ErrorKind
impl PartialEq<ErrorKind> for ErrorKind
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§
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