Struct fidl_fuchsia_examples::EchoServiceProxy
source · pub struct EchoServiceProxy(/* private fields */);
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.
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