Struct fidl_fuchsia_examples::EchoServiceProxy
source · pub struct EchoServiceProxy(_);
Implementations§
source§impl EchoServiceProxy
impl EchoServiceProxy
pub fn connect_to_regular_echo(&self) -> Result<EchoProxy, Error>
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.
pub fn connect_to_reversed_echo(&self) -> Result<EchoProxy, Error>
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.
Trait Implementations§
source§impl ServiceProxy for EchoServiceProxy
impl ServiceProxy for EchoServiceProxy
§type Service = EchoServiceMarker
type Service = EchoServiceMarker
The FIDL service this proxy represents.