Struct fidl_fuchsia_services_test::DeviceProxy
source · pub struct DeviceProxy(/* private fields */);
Implementations§
source§impl DeviceProxy
impl DeviceProxy
pub fn connect_to_control(&self) -> Result<ControlPlaneProxy, Error>
sourcepub fn connect_channel_to_control(
&self,
server_end: ServerEnd<ControlPlaneMarker>
) -> Result<(), Error>
pub fn connect_channel_to_control( &self, server_end: ServerEnd<ControlPlaneMarker> ) -> Result<(), Error>
Like connect_to_control
, but accepts a server end.
pub fn connect_to_data(&self) -> Result<DataPlaneProxy, Error>
sourcepub fn connect_channel_to_data(
&self,
server_end: ServerEnd<DataPlaneMarker>
) -> Result<(), Error>
pub fn connect_channel_to_data( &self, server_end: ServerEnd<DataPlaneMarker> ) -> Result<(), Error>
Like connect_to_data
, but accepts a server end.
Trait Implementations§
source§impl ServiceProxy for DeviceProxy
impl ServiceProxy for DeviceProxy
§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