pub enum CallManagerRequest {
PeerConnected {
id: PeerId,
handle: ServerEnd<PeerHandlerMarker>,
responder: CallManagerPeerConnectedResponder,
},
}
Variants§
PeerConnected
Signal that a peer that supports the HFP Hands-Free role is connected.
id
is the unique identifier associated with the peer.
handle
is the channel that the call manager should use to manage
a the peer. If the call manager does not intend to handle a given peer,
it must close the handle with a ZX_ERR_UNAVAILABLE
epitaph.
Multiple concurrent PeerConnected requests can be made by the client. The empty response is used as a flow control mechanism to allow the client to limit the number of pending PeerConnected requests.
Implementations§
Source§impl CallManagerRequest
impl CallManagerRequest
pub fn into_peer_connected( self, ) -> Option<(PeerId, ServerEnd<PeerHandlerMarker>, CallManagerPeerConnectedResponder)>
Sourcepub fn method_name(&self) -> &'static str
pub fn method_name(&self) -> &'static str
Name of the method defined in FIDL
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CallManagerRequest
impl !RefUnwindSafe for CallManagerRequest
impl Send for CallManagerRequest
impl Sync for CallManagerRequest
impl Unpin for CallManagerRequest
impl !UnwindSafe for CallManagerRequest
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more