Struct fidl_fidl_test_imported::ComposedProxy
source · pub struct ComposedProxy { /* private fields */ }
Implementations§
source§impl ComposedProxy
impl ComposedProxy
sourcepub fn take_event_stream(&self) -> ComposedEventStream
pub fn take_event_stream(&self) -> ComposedEventStream
Get a Stream of events from the remote end of the Composed protocol
Panics
Panics if the event stream was already taken.
pub fn echo_table_request_composed( &self, payload: ComposedEchoTableRequestComposedRequest ) -> QueryResponseFut<SimpleStruct>
pub fn echo_union_response_with_error_composed( &self, value: i64, want_absolute_value: bool, forward_to_server: &str, result_err: u32, result_variant: WantResponse ) -> QueryResponseFut<ComposedEchoUnionResponseWithErrorComposedResult>
Trait Implementations§
source§impl Clone for ComposedProxy
impl Clone for ComposedProxy
source§fn clone(&self) -> ComposedProxy
fn clone(&self) -> ComposedProxy
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl ComposedProxyInterface for ComposedProxy
impl ComposedProxyInterface for ComposedProxy
type EchoTableRequestComposedResponseFut = QueryResponseFut<SimpleStruct>
fn echo_table_request_composed( &self, payload: ComposedEchoTableRequestComposedRequest ) -> Self::EchoTableRequestComposedResponseFut
type EchoUnionResponseWithErrorComposedResponseFut = QueryResponseFut<Result<ComposedEchoUnionResponseWithErrorComposedResponse, u32>>
fn echo_union_response_with_error_composed( &self, value: i64, want_absolute_value: bool, forward_to_server: &str, result_err: u32, result_variant: WantResponse ) -> Self::EchoUnionResponseWithErrorComposedResponseFut
source§impl Debug for ComposedProxy
impl Debug for ComposedProxy
source§impl Proxy for ComposedProxy
impl Proxy for ComposedProxy
§type Protocol = ComposedMarker
type Protocol = ComposedMarker
The protocol which this
Proxy
controls.source§fn from_channel(inner: AsyncChannel) -> Self
fn from_channel(inner: AsyncChannel) -> Self
Create a proxy over the given channel.
source§fn into_channel(self) -> Result<AsyncChannel, Self>
fn into_channel(self) -> Result<AsyncChannel, Self>
Attempt to convert the proxy back into a channel. Read more
source§fn as_channel(&self) -> &AsyncChannel
fn as_channel(&self) -> &AsyncChannel
Get a reference to the proxy’s underlying channel. Read more