pub struct SuspendServiceProxy(/* private fields */);
Implementations§
Source§impl SuspendServiceProxy
impl SuspendServiceProxy
pub fn connect_to_suspender(&self) -> Result<SuspenderProxy, Error>
Sourcepub fn connect_to_suspender_sync(
&self,
) -> Result<SuspenderSynchronousProxy, Error>
pub fn connect_to_suspender_sync( &self, ) -> Result<SuspenderSynchronousProxy, Error>
Like connect_to_suspender
, but returns a sync proxy.
See Self::connect_to_suspender
for more details.
Sourcepub fn connect_channel_to_suspender(
&self,
server_end: ServerEnd<SuspenderMarker>,
) -> Result<(), Error>
pub fn connect_channel_to_suspender( &self, server_end: ServerEnd<SuspenderMarker>, ) -> Result<(), Error>
Like connect_to_suspender
, but accepts a server end.
See Self::connect_to_suspender
for more details.
pub fn instance_name(&self) -> &str
Trait Implementations§
Source§impl ServiceProxy for SuspendServiceProxy
impl ServiceProxy for SuspendServiceProxy
Source§type Service = SuspendServiceMarker
type Service = SuspendServiceMarker
The FIDL service this proxy represents.
Auto Trait Implementations§
impl Freeze for SuspendServiceProxy
impl !RefUnwindSafe for SuspendServiceProxy
impl !Send for SuspendServiceProxy
impl !Sync for SuspendServiceProxy
impl Unpin for SuspendServiceProxy
impl !UnwindSafe for SuspendServiceProxy
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