pub fn register_service_search(
        &self,
        svc_id: bredr::ServiceClassProfileIdentifier,
        attributes: Vec<u16>,
    ) -> Result<bredr::SearchResultsRequestStream, Error> {
        let (results_client, results_requests) =
            f_end::create_request_stream().expect("couldn't create endpoints");
        self.profile_svc.search(svc_id, &attributes, results_client)?;
        Ok(results_requests)
    }
/// Register a service search using the Profile protocol for services that match `svc_id`.
///
/// Returns a stream of search results that can be polled to receive new requests.
Register a service search using the Profile protocol for services that match `svc_id`.
Returns a stream of search results that can be polled to receive new requests.
Register a service search using the Profile protocol for services that match ` svc_id ` . Returns a stream of search results that can be polled to receive new requests .
pub fn register_service_search(
        &self,
        svc_id: bredr::ServiceClassProfileIdentifier,
        attributes: Vec<u16>,
    ) -> Result<bredr::SearchResultsRequestStream, Error> {
        let (results_client, results_requests) =
            f_end::create_request_stream().expect("couldn't create endpoints");
        self.profile_svc.search(svc_id, &attributes, results_client)?;
        Ok(results_requests)
    }
pub fn register_service_search ( & self , svc_id : bredr :: ServiceClassProfileIdentifier , attributes : Vec < u16 > , ) -> Result < bredr :: SearchResultsRequestStream , Error > { let ( results_client , results_requests ) = f_end :: create_request_stream ( ) . expect ( " " ) ; self . profile_svc . search ( svc_id , & attributes , results_client ) ? ; Ok ( results_requests ) }
Register a service search using the Profile protocol for services that match `svc_id`.
Register a service search using the Profile protocol for services that match ` svc_id ` .
&self
svc_id
bredr::ServiceClassProfileIdentifier
attributes
Vec<u16>
&self
svc_id
bredr::ServiceClassProfileIdentifier
attributes
Vec<u16>