pub fn for_profile(name: String) -> (Self, bredr::PeerObserverRequestStream) {
        let (peer_proxy, peer_stream) =
            f_end::create_proxy_and_stream::<bredr::PeerObserverMarker>().unwrap();

        (Self { name, id: bt_types::PeerId::random(), observer: Some(peer_proxy) }, peer_stream)
    }
/// Create a PiconetMemberSpec configured to be used with a Profile
/// component which is under test.
Create a PiconetMemberSpec configured to be used with a Profile
component which is under test.
Create a PiconetMemberSpec configured to be used with a Profile component which is under test .
pub fn for_profile(name: String) -> (Self, bredr::PeerObserverRequestStream) {
        let (peer_proxy, peer_stream) =
            f_end::create_proxy_and_stream::<bredr::PeerObserverMarker>().unwrap();
        (Self { name, id: bt_types::PeerId::random(), observer: Some(peer_proxy) }, peer_stream)
    }
pub fn for_profile ( name : String ) -> ( Self , bredr :: PeerObserverRequestStream ) { let ( peer_proxy , peer_stream ) = f_end :: create_proxy_and_stream :: < bredr :: PeerObserverMarker > ( ) . unwrap ( ) ; ( Self { name , id : bt_types :: PeerId :: random ( ) , observer : Some ( peer_proxy ) } , peer_stream ) }
Create a PiconetMemberSpec configured to be used with a Profile
component which is under test.
Create a PiconetMemberSpec configured to be used with a Profile component which is under test .
name
String
name
String