pub struct ControlServiceProxy(/* private fields */);
Expand description
Serves the Control protocol as a service. Only needed due to driver test realm implementation detail.
Implementations§
Source§impl ControlServiceProxy
impl ControlServiceProxy
pub fn connect_to_control(&self) -> Result<ControlProxy, Error>
Sourcepub fn connect_to_control_sync(&self) -> Result<ControlSynchronousProxy, Error>
pub fn connect_to_control_sync(&self) -> Result<ControlSynchronousProxy, 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<ControlMarker>,
) -> Result<(), Error>
pub fn connect_channel_to_control( &self, server_end: ServerEnd<ControlMarker>, ) -> Result<(), Error>
Like connect_to_control
, but accepts a server end.
See Self::connect_to_control
for more details.
Trait Implementations§
Source§impl ServiceProxy for ControlServiceProxy
impl ServiceProxy for ControlServiceProxy
Source§type Service = ControlServiceMarker
type Service = ControlServiceMarker
The FIDL service this proxy represents.
Auto Trait Implementations§
impl Freeze for ControlServiceProxy
impl !RefUnwindSafe for ControlServiceProxy
impl !Send for ControlServiceProxy
impl !Sync for ControlServiceProxy
impl Unpin for ControlServiceProxy
impl !UnwindSafe for ControlServiceProxy
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