pub struct TestServiceProxy(/* private fields */);
Expand description
This service is only exposed by test MSDs. This should not be used by an ICD.
Implementations§
Source§impl TestServiceProxy
impl TestServiceProxy
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 connect_to_power_element_provider( &self, ) -> Result<PowerElementProviderProxy, Error>
Sourcepub fn connect_to_power_element_provider_sync(
&self,
) -> Result<PowerElementProviderSynchronousProxy, Error>
pub fn connect_to_power_element_provider_sync( &self, ) -> Result<PowerElementProviderSynchronousProxy, Error>
Like connect_to_power_element_provider
, but returns a sync proxy.
See Self::connect_to_power_element_provider
for more details.
Sourcepub fn connect_channel_to_power_element_provider(
&self,
server_end: ServerEnd<PowerElementProviderMarker>,
) -> Result<(), Error>
pub fn connect_channel_to_power_element_provider( &self, server_end: ServerEnd<PowerElementProviderMarker>, ) -> Result<(), Error>
Like connect_to_power_element_provider
, but accepts a server end.
See Self::connect_to_power_element_provider
for more details.
pub fn connect_to_test_device(&self) -> Result<TestDevice2Proxy, Error>
Sourcepub fn connect_to_test_device_sync(
&self,
) -> Result<TestDevice2SynchronousProxy, Error>
pub fn connect_to_test_device_sync( &self, ) -> Result<TestDevice2SynchronousProxy, Error>
Like connect_to_test_device
, but returns a sync proxy.
See Self::connect_to_test_device
for more details.
Sourcepub fn connect_channel_to_test_device(
&self,
server_end: ServerEnd<TestDevice2Marker>,
) -> Result<(), Error>
pub fn connect_channel_to_test_device( &self, server_end: ServerEnd<TestDevice2Marker>, ) -> Result<(), Error>
Like connect_to_test_device
, but accepts a server end.
See Self::connect_to_test_device
for more details.
pub fn instance_name(&self) -> &str
Trait Implementations§
Source§impl ServiceProxy for TestServiceProxy
impl ServiceProxy for TestServiceProxy
Source§type Service = TestServiceMarker
type Service = TestServiceMarker
The FIDL service this proxy represents.
Auto Trait Implementations§
impl Freeze for TestServiceProxy
impl !RefUnwindSafe for TestServiceProxy
impl Send for TestServiceProxy
impl Sync for TestServiceProxy
impl Unpin for TestServiceProxy
impl !UnwindSafe for TestServiceProxy
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