pub struct DeviceProxy(/* private fields */);
Implementations§
Source§impl DeviceProxy
impl DeviceProxy
pub fn connect_to_crasher(&self) -> Result<CrasherProxy, Error>
Sourcepub fn connect_to_crasher_sync(&self) -> Result<CrasherSynchronousProxy, Error>
pub fn connect_to_crasher_sync(&self) -> Result<CrasherSynchronousProxy, Error>
Like connect_to_crasher
, but returns a sync proxy.
See Self::connect_to_crasher
for more details.
Sourcepub fn connect_channel_to_crasher(
&self,
server_end: ServerEnd<CrasherMarker>,
) -> Result<(), Error>
pub fn connect_channel_to_crasher( &self, server_end: ServerEnd<CrasherMarker>, ) -> Result<(), Error>
Like connect_to_crasher
, but accepts a server end.
See Self::connect_to_crasher
for more details.
pub fn instance_name(&self) -> &str
Trait Implementations§
Source§impl ServiceProxy for DeviceProxy
impl ServiceProxy for DeviceProxy
Source§type Service = DeviceMarker
type Service = DeviceMarker
The FIDL service this proxy represents.
Auto Trait Implementations§
impl Freeze for DeviceProxy
impl !RefUnwindSafe for DeviceProxy
impl !Send for DeviceProxy
impl !Sync for DeviceProxy
impl Unpin for DeviceProxy
impl !UnwindSafe for DeviceProxy
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