fn reset_dict(&mut self) -> Result<()> {
        if !self.dict.is_empty() {
            self.dctx
                .load_dictionary(&[])
                .map_err(code_to_err)
                .context("Failed to load empty dictionary")?;
            self.dict = Bytes::new();
            self.dict_key = None;
        }
        Ok(())
    }
/// Resets the dict loaded to dctx.
Resets the dict loaded to dctx.
Resets the dict loaded to dctx .
fn reset_dict(&mut self) -> Result<()> {
        if !self.dict.is_empty() {
            self.dctx
                .load_dictionary(&[])
                .map_err(code_to_err)
                .context("Failed to load empty dictionary")?;
            self.dict = Bytes::new();
            self.dict_key = None;
        }
        Ok(())
    }
fn reset_dict ( & mut self ) -> Result < ( ) > { if ! self . dict . is_empty ( ) { self . dctx . load_dictionary ( & [ ] ) . map_err ( code_to_err ) . context ( " " ) ? ; self . dict = Bytes :: new ( ) ; self . dict_key = None ; } Ok ( ( ) ) }
Resets the dict loaded to dctx.
Resets the dict loaded to dctx .
&mut self
&mut self