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
Fields
§
inner: DecompressionError
The underlying error.
The input is not a valid deflate stream.
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 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