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