pub struct EchoServiceProxy(/* private fields */);
Implementations§
Source§impl EchoServiceProxy
impl EchoServiceProxy
pub fn connect_to_regular_echo(&self) -> Result<EchoProxy, Error>
Sourcepub fn connect_to_regular_echo_sync(
&self,
) -> Result<EchoSynchronousProxy, Error>
pub fn connect_to_regular_echo_sync( &self, ) -> Result<EchoSynchronousProxy, Error>
Like connect_to_regular_echo
, but returns a sync proxy.
See Self::connect_to_regular_echo
for more details.
Sourcepub fn connect_channel_to_regular_echo(
&self,
server_end: ServerEnd<EchoMarker>,
) -> Result<(), Error>
pub fn connect_channel_to_regular_echo( &self, server_end: ServerEnd<EchoMarker>, ) -> Result<(), Error>
Like connect_to_regular_echo
, but accepts a server end.
See Self::connect_to_regular_echo
for more details.
pub fn connect_to_reversed_echo(&self) -> Result<EchoProxy, Error>
Sourcepub fn connect_to_reversed_echo_sync(
&self,
) -> Result<EchoSynchronousProxy, Error>
pub fn connect_to_reversed_echo_sync( &self, ) -> Result<EchoSynchronousProxy, Error>
Like connect_to_reversed_echo
, but returns a sync proxy.
See Self::connect_to_reversed_echo
for more details.
Sourcepub fn connect_channel_to_reversed_echo(
&self,
server_end: ServerEnd<EchoMarker>,
) -> Result<(), Error>
pub fn connect_channel_to_reversed_echo( &self, server_end: ServerEnd<EchoMarker>, ) -> Result<(), Error>
Like connect_to_reversed_echo
, but accepts a server end.
See Self::connect_to_reversed_echo
for more details.
Trait Implementations§
Source§impl ServiceProxy for EchoServiceProxy
impl ServiceProxy for EchoServiceProxy
Source§type Service = EchoServiceMarker
type Service = EchoServiceMarker
The FIDL service this proxy represents.
Auto Trait Implementations§
impl Freeze for EchoServiceProxy
impl !RefUnwindSafe for EchoServiceProxy
impl !Send for EchoServiceProxy
impl !Sync for EchoServiceProxy
impl Unpin for EchoServiceProxy
impl !UnwindSafe for EchoServiceProxy
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