fn build_and_register_search(
        mock_peer: &mut MockPeer,
        id: bredr::ServiceClassProfileIdentifier,
    ) -> (bredr::SearchResultsRequestStream, impl Future<Output = ()>) {
        let (client, stream) = create_proxy_and_stream::<bredr::SearchResultsMarker>()
            .expect("couldn't create endpoints");
        let search_fut = mock_peer.new_search(id, vec![], client);
        (stream, search_fut)
    }
/// Builds and registers a search for an `id` with no attributes.
/// Returns 1) The RequestStream used to process search results and 2) A future
/// that signals the termination of the service search.
Builds and registers a search for an `id` with no attributes.
Returns 1) The RequestStream used to process search results and 2) A future
that signals the termination of the service search.
Builds and registers a search for an ` id ` with no attributes . Returns 1 ) The RequestStream used to process search results and 2 ) A future that signals the termination of the service search .
fn build_and_register_search(
        mock_peer: &mut MockPeer,
        id: bredr::ServiceClassProfileIdentifier,
    ) -> (bredr::SearchResultsRequestStream, impl Future<Output = ()>) {
        let (client, stream) = create_proxy_and_stream::<bredr::SearchResultsMarker>()
            .expect("couldn't create endpoints");
        let search_fut = mock_peer.new_search(id, vec![], client);
        (stream, search_fut)
    }
fn build_and_register_search ( mock_peer : & mut MockPeer , id : bredr :: ServiceClassProfileIdentifier , ) -> ( bredr :: SearchResultsRequestStream , impl Future < Output = ( ) > ) { let ( client , stream ) = create_proxy_and_stream :: < bredr :: SearchResultsMarker > ( ) . expect ( " " ) ; let search_fut = mock_peer . new_search ( id , vec ! [ ] , client ) ; ( stream , search_fut ) }
Builds and registers a search for an `id` with no attributes.
Builds and registers a search for an ` id ` with no attributes .
mock_peer
&mut MockPeer
id
bredr::ServiceClassProfileIdentifier
mock_peer
&mut MockPeer
id
bredr::ServiceClassProfileIdentifier