pub struct EmulatorServiceProxy(/* private fields */);
Implementations§
Source§impl EmulatorServiceProxy
impl EmulatorServiceProxy
pub fn connect_to_device(&self) -> Result<EmulatorProxy, Error>
Sourcepub fn connect_to_device_sync(&self) -> Result<EmulatorSynchronousProxy, Error>
pub fn connect_to_device_sync(&self) -> Result<EmulatorSynchronousProxy, 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<EmulatorMarker>,
) -> Result<(), Error>
pub fn connect_channel_to_device( &self, server_end: ServerEnd<EmulatorMarker>, ) -> 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 EmulatorServiceProxy
impl ServiceProxy for EmulatorServiceProxy
Source§type Service = EmulatorServiceMarker
type Service = EmulatorServiceMarker
The FIDL service this proxy represents.
Auto Trait Implementations§
impl Freeze for EmulatorServiceProxy
impl !RefUnwindSafe for EmulatorServiceProxy
impl Send for EmulatorServiceProxy
impl Sync for EmulatorServiceProxy
impl Unpin for EmulatorServiceProxy
impl !UnwindSafe for EmulatorServiceProxy
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