pub enum PeerManagerExtRequest {
GetBrowseControllerForTarget {
peer_id: PeerId,
client: ServerEnd<BrowseControllerExtMarker>,
responder: PeerManagerExtGetBrowseControllerForTargetResponder,
},
GetControllerForTarget {
peer_id: PeerId,
client: ServerEnd<ControllerExtMarker>,
responder: PeerManagerExtGetControllerForTargetResponder,
},
}
Expand description
NOTE: The test controller protocols returned by the
Get{Browse|}ControllerForTarget
methods provide additional methods not
exposed by primary controller protocol that are designed to be used
for PTS qualification testing and debugging purposes only.
WARNING: This test controller protocol client can cause breaking
side-effects for other controller clients connected to this the same peer.
Use with caution and avoid having additional primary controller
clients interacting with the same remote peer while using the test
controller.
Variants§
GetBrowseControllerForTarget
Returns a test browse controller client to a remote target service at
the peer specified by peer_id
. This client is to be used alongside the
primary browse controller client.
GetControllerForTarget
Returns a test controller client to a remote target service at the
peer specified by peer_id
. This client is to be used alongside the
primary controller client.
Implementations§
Source§impl PeerManagerExtRequest
impl PeerManagerExtRequest
pub fn into_get_browse_controller_for_target( self, ) -> Option<(PeerId, ServerEnd<BrowseControllerExtMarker>, PeerManagerExtGetBrowseControllerForTargetResponder)>
pub fn into_get_controller_for_target( self, ) -> Option<(PeerId, ServerEnd<ControllerExtMarker>, PeerManagerExtGetControllerForTargetResponder)>
Sourcepub fn method_name(&self) -> &'static str
pub fn method_name(&self) -> &'static str
Name of the method defined in FIDL