/// Check if there is a given service in the table.
Check if there is a given service in the table.
Check if there is a given service in the table .
pub fn contains(&self, svc: &Service) -> bool {
        match svc {
            &Service::ControlProtocol => true,
            svc => self.map.contains_key(&get_service_table_key(svc))
        }
    }
pub fn contains ( & self , svc : & Service ) -> bool { match svc { & Service :: ControlProtocol => true , svc => self . map . contains_key ( & get_service_table_key ( svc ) ) } }
Check if there is a given service in the table.
Check if there is a given service in the table .
&self
svc
&Service