pub enum DecompressionError {
BufferSizeOverflow,
DecompressionFailed(i32),
}
Expand description
Errors that can occur when decompressing data.
Variants§
BufferSizeOverflow
Buffer size is insufficient for decompressed data. This should not occur in Infinite module decompression.
DecompressionFailed(i32)
Decompression failed with Kraken decompressor error code. Negative error codes indicate decompression failure.
Trait Implementations§
Source§impl Debug for DecompressionError
impl Debug for DecompressionError
Source§impl Display for DecompressionError
impl Display for DecompressionError
Source§impl Error for DecompressionError
impl Error for DecompressionError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<DecompressionError> for Error
impl From<DecompressionError> for Error
Source§fn from(source: DecompressionError) -> Self
fn from(source: DecompressionError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DecompressionError
impl RefUnwindSafe for DecompressionError
impl Send for DecompressionError
impl Sync for DecompressionError
impl Unpin for DecompressionError
impl UnwindSafe for DecompressionError
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