pub enum HfpRequest {
Register {
manager: ClientEnd<CallManagerMarker>,
control_handle: HfpControlHandle,
},
}
Variants§
Register
Register as the call manager for this device.
There can only be one call manager registered at a time. If one is
registered at the time a call to Register
is made, the newer
CallManager channel will be closed.
A call manager can be unregistered by closing either end of the channel.
Implementations§
Source§impl HfpRequest
impl HfpRequest
pub fn into_register( self, ) -> Option<(ClientEnd<CallManagerMarker>, HfpControlHandle)>
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 HfpRequest
impl !RefUnwindSafe for HfpRequest
impl Send for HfpRequest
impl Sync for HfpRequest
impl Unpin for HfpRequest
impl !UnwindSafe for HfpRequest
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