pub enum StreamingDecoder {
Gzip(GzDecoder<Vec<u8>>),
Deflate(ZlibDecoder<Vec<u8>>),
Brotli(DecompressorWriter<Vec<u8>>),
Identity,
}Expand description
Streaming decompressor that maintains state across chunks
Variants§
Gzip(GzDecoder<Vec<u8>>)
Deflate(ZlibDecoder<Vec<u8>>)
Brotli(DecompressorWriter<Vec<u8>>)
Identity
Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for StreamingDecoder
impl !UnwindSafe for StreamingDecoder
impl Freeze for StreamingDecoder
impl Send for StreamingDecoder
impl Sync for StreamingDecoder
impl Unpin for StreamingDecoder
impl UnsafeUnpin for StreamingDecoder
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