pub enum CompressError {
IllegalCompressionLevel(u8),
InputUncompressable,
InvalidCursor(String),
InvalidIntegerConversion {
error: TryFromIntError,
},
IOError {
error: Error,
},
}
Variants§
IllegalCompressionLevel(u8)
InputUncompressable
InvalidCursor(String)
InvalidIntegerConversion
Fields
§
error: TryFromIntError
IOError
Trait Implementations§
Source§impl Debug for CompressError
impl Debug for CompressError
Source§impl Display for CompressError
impl Display for CompressError
Source§impl Fail for CompressError
impl Fail for CompressError
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 CompressError
impl From<Error> for CompressError
Source§impl From<TryFromIntError> for CompressError
impl From<TryFromIntError> for CompressError
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 CompressError
impl !RefUnwindSafe for CompressError
impl Send for CompressError
impl Sync for CompressError
impl Unpin for CompressError
impl !UnwindSafe for CompressError
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