pub enum DecompressError {
IllegalCompressionLevel(u8),
BinaryTreeError(BinaryTreeInvariantError),
InvariantFailure,
InternalError(u8),
InvalidIntegerConversion(TryFromIntError),
IOError(Error),
}
Variants§
IllegalCompressionLevel(u8)
BinaryTreeError(BinaryTreeInvariantError)
InvariantFailure
InternalError(u8)
InvalidIntegerConversion(TryFromIntError)
IOError(Error)
Trait Implementations§
Source§impl Debug for DecompressError
impl Debug for DecompressError
Source§impl Display for DecompressError
impl Display for DecompressError
Source§impl Fail for DecompressError
impl Fail for DecompressError
Source§fn cause(&self) -> Option<&dyn Fail>
fn cause(&self) -> Option<&dyn Fail>
Returns a reference to the underlying cause of this failure, if it
is an error that wraps other errors. Read more
Source§fn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
Returns a reference to the
Backtrace
carried by this failure, if it
carries one. Read moreSource§impl From<Error> for DecompressError
impl From<Error> for DecompressError
Source§impl From<TryFromIntError> for DecompressError
impl From<TryFromIntError> for DecompressError
Source§fn from(v: TryFromIntError) -> Self
fn from(v: TryFromIntError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DecompressError
impl !RefUnwindSafe for DecompressError
impl Send for DecompressError
impl Sync for DecompressError
impl Unpin for DecompressError
impl !UnwindSafe for DecompressError
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