/// Returns all the PSMs specified by this record.
Returns all the PSMs specified by this record.
Returns all the PSMs specified by this record .
pub fn psms(&self) -> HashSet<Psm> {
        let mut psms = HashSet::new();
        if let Some(Connection::L2cap(psm)) = self.primary_connection {
            psms.insert(psm);
        }
        psms.union(&self.additional_psms).cloned().collect()
    }
pub fn psms ( & self ) -> HashSet < Psm > { let mut psms = HashSet :: new ( ) ; if let Some ( Connection :: L2cap ( psm ) ) = self . primary_connection { psms . insert ( psm ) ; } psms . union ( & self . additional_psms ) . cloned ( ) . collect ( ) }
Returns all the PSMs specified by this record.
Returns all the PSMs specified by this record .
&self