pub fn with_dict(writer: W, prefs: Preferences, dict: Dictionary) -> Result<Self> {
        Ok(Self {
            inner: writer,
            comp: Compressor::new(prefs, Some(dict))?,
            consumed: 0,
            state: State::None,
        })
    }
/// Creates a new `AsyncWriteCompressor<W>` with a dictionary.
Creates a new `AsyncWriteCompressor` with a dictionary.
Creates a new ` AsyncWriteCompressor ` with a dictionary .
pub fn with_dict(writer: W, prefs: Preferences, dict: Dictionary) -> Result<Self> {
        Ok(Self {
            inner: writer,
            comp: Compressor::new(prefs, Some(dict))?,
            consumed: 0,
            state: State::None,
        })
    }
pub fn with_dict ( writer : W , prefs : Preferences , dict : Dictionary ) -> Result < Self > { Ok ( Self { inner : writer , comp : Compressor :: new ( prefs , Some ( dict ) ) ? , consumed : 0 , state : State :: None , } ) }
Creates a new `AsyncWriteCompressor<W>` with a dictionary.
Creates a new ` AsyncWriteCompressor<W > ` with a dictionary .
writer
W
prefs
Preferences
dict
Dictionary
writer
W
prefs
Preferences
dict
Dictionary