/// Consumes self, writing out the final '#' and checksum
Consumes self, writing out the final '#' and checksum
Consumes self writing out the final ' # ' and checksum
pub fn flush(mut self) -> Result<(), Error<C::Error>> {
        // don't include '#' in checksum calculation
        let checksum = self.checksum;
        #[cfg(feature = "alloc")]
        trace!("--> ${}#{:02x?}", self.msg, checksum);
        self.write(b'#')?;
        self.write_hex(checksum)?;
        Ok(())
    }
pub fn flush ( mut self ) -> Result < ( ) , Error < C :: Error > > { // don't include '#' in checksum calculation let checksum = self . checksum ; # [ cfg ( feature " " ) ] trace ! ( " " self msg checksum ) ; self . write ( b'#' ) ? ; self . write_hex ( checksum ) ? ; Ok ( ( ) ) }
Consumes self, writing out the final '#' and checksum
Consumes self writing out the final ' # ' and checksum
mut self