pub enum EmulatorRequest {
Open {
channel: ServerEnd<HciEmulatorMarker>,
control_handle: EmulatorControlHandle,
},
}
Expand description
Represents the bt-emulator device protocol. A bt-emulator device is used for configuring and publishing fake bt-hci devices.
Variants§
Open
Opens a fake controller management channel. Only one channel to this protocol can be open on a given bt-hci-emulator device.
Implementations§
source§impl EmulatorRequest
impl EmulatorRequest
pub fn into_open( self ) -> Option<(ServerEnd<HciEmulatorMarker>, EmulatorControlHandle)>
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 EmulatorRequest
impl !RefUnwindSafe for EmulatorRequest
impl Send for EmulatorRequest
impl Sync for EmulatorRequest
impl Unpin for EmulatorRequest
impl !UnwindSafe for EmulatorRequest
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