pub struct DeviceServiceProxy(/* private fields */);
Implementations§
Source§impl DeviceServiceProxy
impl DeviceServiceProxy
pub fn connect_to_device(&self) -> Result<CompositeProxy, Error>
Sourcepub fn connect_to_device_sync(&self) -> Result<CompositeSynchronousProxy, Error>
pub fn connect_to_device_sync(&self) -> Result<CompositeSynchronousProxy, Error>
Like connect_to_device
, but returns a sync proxy.
See Self::connect_to_device
for more details.
Sourcepub fn connect_channel_to_device(
&self,
server_end: ServerEnd<CompositeMarker>,
) -> Result<(), Error>
pub fn connect_channel_to_device( &self, server_end: ServerEnd<CompositeMarker>, ) -> Result<(), Error>
Like connect_to_device
, but accepts a server end.
See Self::connect_to_device
for more details.
Trait Implementations§
Source§impl ServiceProxy for DeviceServiceProxy
impl ServiceProxy for DeviceServiceProxy
Source§type Service = DeviceServiceMarker
type Service = DeviceServiceMarker
The FIDL service this proxy represents.
Auto Trait Implementations§
impl Freeze for DeviceServiceProxy
impl !RefUnwindSafe for DeviceServiceProxy
impl !Send for DeviceServiceProxy
impl !Sync for DeviceServiceProxy
impl Unpin for DeviceServiceProxy
impl !UnwindSafe for DeviceServiceProxy
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