pub struct DeviceProxy(/* private fields */);
Implementations§
Source§impl DeviceProxy
impl DeviceProxy
pub fn connect_to_control(&self) -> Result<ControlPlaneProxy, Error>
Sourcepub fn connect_to_control_sync(
&self,
) -> Result<ControlPlaneSynchronousProxy, Error>
pub fn connect_to_control_sync( &self, ) -> Result<ControlPlaneSynchronousProxy, Error>
Like connect_to_control
, but returns a sync proxy.
See Self::connect_to_control
for more details.
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.
See Self::connect_to_control
for more details.
pub fn connect_to_data(&self) -> Result<DataPlaneProxy, Error>
Sourcepub fn connect_to_data_sync(&self) -> Result<DataPlaneSynchronousProxy, Error>
pub fn connect_to_data_sync(&self) -> Result<DataPlaneSynchronousProxy, Error>
Like connect_to_data
, but returns a sync proxy.
See Self::connect_to_data
for more details.
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.
See Self::connect_to_data
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