pub fn remove_port_from_all(&mut self, port_name: &String) {
    for (_, sub) in self.subscriptions.iter_mut() {
      sub.ports.retain(|p| p != port_name);
    }
  }
/// Remove a port from all subscriptions
Remove a port from all subscriptions
Remove a port from all subscriptions
pub fn remove_port_from_all(&mut self, port_name: &String) {
    for (_, sub) in self.subscriptions.iter_mut() {
      sub.ports.retain(|p| p != port_name);
    }
  }
pub fn remove_port_from_all ( & mut self , port_name : & String ) { for ( _ , sub ) in self . subscriptions . iter_mut ( ) { sub . ports . retain ( | p | p != port_name ) ; } }
Remove a port from all subscriptions
Remove a port from all subscriptions
&mut self
port_name
&String
&mut self
port_name
&String