pub struct VirtualControllerServiceProxy(/* private fields */);Expand description
Support service connection
Implementations§
Source§impl VirtualControllerServiceProxy
impl VirtualControllerServiceProxy
pub fn connect_to_device(&self) -> Result<VirtualControllerProxy, Error>
Sourcepub fn connect_to_device_sync(
&self,
) -> Result<VirtualControllerSynchronousProxy, Error>
pub fn connect_to_device_sync( &self, ) -> Result<VirtualControllerSynchronousProxy, 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<VirtualControllerMarker>,
) -> Result<(), Error>
pub fn connect_channel_to_device( &self, server_end: ServerEnd<VirtualControllerMarker>, ) -> 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 VirtualControllerServiceProxy
Available on Fuchsia only.
impl ServiceProxy for VirtualControllerServiceProxy
Available on Fuchsia only.
Source§type Service = VirtualControllerServiceMarker
type Service = VirtualControllerServiceMarker
The FIDL service this proxy represents.
Auto Trait Implementations§
impl !RefUnwindSafe for VirtualControllerServiceProxy
impl !UnwindSafe for VirtualControllerServiceProxy
impl Freeze for VirtualControllerServiceProxy
impl Send for VirtualControllerServiceProxy
impl Sync for VirtualControllerServiceProxy
impl Unpin for VirtualControllerServiceProxy
impl UnsafeUnpin for VirtualControllerServiceProxy
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