pub struct UsbFunctionServiceProxy(/* private fields */);Implementations§
Source§impl UsbFunctionServiceProxy
impl UsbFunctionServiceProxy
pub fn connect_to_device(&self) -> Result<UsbFunctionProxy, Error>
Sourcepub fn connect_to_device_sync(
&self,
) -> Result<UsbFunctionSynchronousProxy, Error>
pub fn connect_to_device_sync( &self, ) -> Result<UsbFunctionSynchronousProxy, 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<UsbFunctionMarker>,
) -> Result<(), Error>
pub fn connect_channel_to_device( &self, server_end: ServerEnd<UsbFunctionMarker>, ) -> Result<(), Error>
Like connect_to_device, but accepts a server end.
See Self::connect_to_device for more details.
pub fn instance_name(&self) -> &str
Trait Implementations§
Source§impl ServiceProxy for UsbFunctionServiceProxy
Available on Fuchsia only.
impl ServiceProxy for UsbFunctionServiceProxy
Available on Fuchsia only.
Source§type Service = UsbFunctionServiceMarker
type Service = UsbFunctionServiceMarker
The FIDL service this proxy represents.
Auto Trait Implementations§
impl !RefUnwindSafe for UsbFunctionServiceProxy
impl !UnwindSafe for UsbFunctionServiceProxy
impl Freeze for UsbFunctionServiceProxy
impl Send for UsbFunctionServiceProxy
impl Sync for UsbFunctionServiceProxy
impl Unpin for UsbFunctionServiceProxy
impl UnsafeUnpin for UsbFunctionServiceProxy
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