#[non_exhaustive]pub enum CompressionErrorType {
Decompressing,
NotUtf8,
}
Available on crate features
zlib-stock
or zlib-simd
or zstd
only.Expand description
Type of CompressionError
that occurred.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CompressionErrorType
impl RefUnwindSafe for CompressionErrorType
impl Send for CompressionErrorType
impl Sync for CompressionErrorType
impl Unpin for CompressionErrorType
impl UnwindSafe for CompressionErrorType
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