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