pub fn new(writer: W) -> Result<Self> {
        Ok(Self {
            inner: writer,
            decomp: Decompressor::new()?,
            consumed: 0,
            state: State::None,
        })
    }
/// Creates a new `AsyncWriteDecompressor<W>`.
Creates a new `AsyncWriteDecompressor`.
Creates a new ` AsyncWriteDecompressor ` .
pub fn new(writer: W) -> Result<Self> {
        Ok(Self {
            inner: writer,
            decomp: Decompressor::new()?,
            consumed: 0,
            state: State::None,
        })
    }
pub fn new ( writer : W ) -> Result < Self > { Ok ( Self { inner : writer , decomp : Decompressor :: new ( ) ? , consumed : 0 , state : State :: None , } ) }
Creates a new `AsyncWriteDecompressor<W>`.
Creates a new ` AsyncWriteDecompressor<W > ` .
writer
W
writer
W