/// Returns the RFCOMM channels specified by this record.
/// TODO(fxbug.dev/66002): Return any RFCOMM channels allocated in the additional protocols.
Returns the RFCOMM channels specified by this record.
TODO(fxbug.dev/66002): Return any RFCOMM channels allocated in the additional protocols.
Returns the RFCOMM channels specified by this record . TODO ( fxbug . dev / 66002 ) : Return any RFCOMM channels allocated in the additional protocols .
pub fn rfcomm_channels(&self) -> HashSet<ServerChannel> {
        let mut channels = HashSet::new();
        if let Some(Connection::Rfcomm(Some(sc))) = self.primary_connection {
            channels.insert(sc);
        }
        channels
    }
pub fn rfcomm_channels ( & self ) -> HashSet < ServerChannel > { let mut channels = HashSet :: new ( ) ; if let Some ( Connection :: Rfcomm ( Some ( sc ) ) ) = self . primary_connection { channels . insert ( sc ) ; } channels }
Returns the RFCOMM channels specified by this record.
Returns the RFCOMM channels specified by this record .
&self