pub enum BoundedDecompressionError {
DecompressionError {
inner: DecompressionError,
},
OutputTooLarge {
partial_output: Vec<u8>,
},
}
Expand description
An error encountered while decompressing a deflate stream given a bounded maximum output.
Variants§
DecompressionError
The input is not a valid deflate stream.
Fields
§
inner: DecompressionError
The underlying error.
OutputTooLarge
The output is too large.
Trait Implementations§
source§impl From<DecompressionError> for BoundedDecompressionError
impl From<DecompressionError> for BoundedDecompressionError
source§fn from(inner: DecompressionError) -> Self
fn from(inner: DecompressionError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for BoundedDecompressionError
impl RefUnwindSafe for BoundedDecompressionError
impl Send for BoundedDecompressionError
impl Sync for BoundedDecompressionError
impl Unpin for BoundedDecompressionError
impl UnwindSafe for BoundedDecompressionError
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