/// Handle receiving internal config commands from the client.
Handle receiving internal config commands from the client.
Handle receiving internal config commands from the client .
fn handle_com(&mut self) {
        if let Some(com) = self.com_c.dequeue() {
            match com {
                Command::Reset => {
                    debug!(
                        "Cleared complete buffer as requested by client [{:?}]",
                        LossyStr(&self.buf),
                    );
                    self.digester.reset();
                    self.buf.clear();
                }
                Command::ForceReceiveState => self.digester.force_receive_state(),
            }
        }
    }
fn handle_com ( & mut self ) { if let Some ( com ) = self . com_c . dequeue ( ) { match com { Command :: Reset => { debug ! ( " " LossyStr ( self buf ) ) ; self . digester . reset ( ) ; self . buf . clear ( ) ; } Command :: ForceReceiveState => self . digester . force_receive_state ( ) , } } }
Handle receiving internal config commands from the client.
Handle receiving internal config commands from the client .
&mut self