pub enum LzfError {
BufferTooSmall,
DataCorrupted,
NoCompressionPossible,
UnknownError(i32),
}
Expand description
Errors that can occur during Compression or Decompression.
Variants
BufferTooSmall
The provided buffer is too small to handle the uncompressed data
DataCorrupted
The given compressed data is corrupted
NoCompressionPossible
The given data can’t be compressed
UnknownError(i32)
An unknown error occured
Trait Implementations
impl Copy for LzfError
impl Eq for LzfError
impl StructuralEq for LzfError
impl StructuralPartialEq for LzfError
Auto Trait Implementations
impl RefUnwindSafe for LzfError
impl Send for LzfError
impl Sync for LzfError
impl Unpin for LzfError
impl UnwindSafe for LzfError
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