pub struct HciServiceProxy(/* private fields */);
Expand description
Wrap the protocol in a service that will be exposed to the child driver.
Implementations§
Source§impl HciServiceProxy
impl HciServiceProxy
pub fn connect_to_hci(&self) -> Result<HciProxy, Error>
Sourcepub fn connect_to_hci_sync(&self) -> Result<HciSynchronousProxy, Error>
pub fn connect_to_hci_sync(&self) -> Result<HciSynchronousProxy, Error>
Like connect_to_hci
, but returns a sync proxy.
See Self::connect_to_hci
for more details.
Sourcepub fn connect_channel_to_hci(
&self,
server_end: ServerEnd<HciMarker>,
) -> Result<(), Error>
pub fn connect_channel_to_hci( &self, server_end: ServerEnd<HciMarker>, ) -> Result<(), Error>
Like connect_to_hci
, but accepts a server end.
See Self::connect_to_hci
for more details.
pub fn connect_to_hci_transport(&self) -> Result<HciTransportProxy, Error>
Sourcepub fn connect_to_hci_transport_sync(
&self,
) -> Result<HciTransportSynchronousProxy, Error>
pub fn connect_to_hci_transport_sync( &self, ) -> Result<HciTransportSynchronousProxy, Error>
Like connect_to_hci_transport
, but returns a sync proxy.
See Self::connect_to_hci_transport
for more details.
Sourcepub fn connect_channel_to_hci_transport(
&self,
server_end: ServerEnd<HciTransportMarker>,
) -> Result<(), Error>
pub fn connect_channel_to_hci_transport( &self, server_end: ServerEnd<HciTransportMarker>, ) -> Result<(), Error>
Like connect_to_hci_transport
, but accepts a server end.
See Self::connect_to_hci_transport
for more details.
pub fn connect_to_snoop(&self) -> Result<SnoopProxy, Error>
Sourcepub fn connect_to_snoop_sync(&self) -> Result<SnoopSynchronousProxy, Error>
pub fn connect_to_snoop_sync(&self) -> Result<SnoopSynchronousProxy, Error>
Like connect_to_snoop
, but returns a sync proxy.
See Self::connect_to_snoop
for more details.
Sourcepub fn connect_channel_to_snoop(
&self,
server_end: ServerEnd<SnoopMarker>,
) -> Result<(), Error>
pub fn connect_channel_to_snoop( &self, server_end: ServerEnd<SnoopMarker>, ) -> Result<(), Error>
Like connect_to_snoop
, but accepts a server end.
See Self::connect_to_snoop
for more details.
Trait Implementations§
Source§impl ServiceProxy for HciServiceProxy
impl ServiceProxy for HciServiceProxy
Source§type Service = HciServiceMarker
type Service = HciServiceMarker
The FIDL service this proxy represents.
Auto Trait Implementations§
impl Freeze for HciServiceProxy
impl !RefUnwindSafe for HciServiceProxy
impl !Send for HciServiceProxy
impl !Sync for HciServiceProxy
impl Unpin for HciServiceProxy
impl !UnwindSafe for HciServiceProxy
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