fn send_message(&mut self, sub_id: &String, msg: SerialResponse) {
    if let Err(e) = self.sub_manager.send_message(sub_id, msg) {
      warn!("Error sending serial response to sub_id '{}'", sub_id);
      let mut bad_subs = Vec::new();
      bad_subs.push(e);
      self.cleanup_bad_subs(bad_subs);
    }
  }
/// Send a message to a subscriber
Send a message to a subscriber
Send a message to a subscriber
fn send_message(&mut self, sub_id: &String, msg: SerialResponse) {
    if let Err(e) = self.sub_manager.send_message(sub_id, msg) {
      warn!("Error sending serial response to sub_id '{}'", sub_id);
      let mut bad_subs = Vec::new();
      bad_subs.push(e);
      self.cleanup_bad_subs(bad_subs);
    }
  }
fn send_message ( & mut self , sub_id : & String , msg : SerialResponse ) { if let Err ( e ) = self . sub_manager . send_message ( sub_id , msg ) { warn ! ( " " sub_id ) ; let mut bad_subs = Vec :: new ( ) ; bad_subs . push ( e ) ; self . cleanup_bad_subs ( bad_subs ) ; } }
Send a message to a subscriber
Send a message to a subscriber
&mut self
sub_id
&String
msg
SerialResponse
&mut self
sub_id
&String
msg
SerialResponse