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_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.
Trait Implementations§
source§impl ServiceProxy for ControlServiceProxy
impl ServiceProxy for ControlServiceProxy
§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