fidl_fidl_clientsuiteTrait ClosedTargetProxyInterface
Source pub trait ClosedTargetProxyInterface: Send + Sync {
type TwoWayNoPayloadResponseFut: Future<Output = Result<(), Error>> + Send;
type TwoWayStructPayloadResponseFut: Future<Output = Result<i32, Error>> + Send;
type TwoWayTablePayloadResponseFut: Future<Output = Result<TablePayload, Error>> + Send;
type TwoWayUnionPayloadResponseFut: Future<Output = Result<UnionPayload, Error>> + Send;
type TwoWayStructPayloadErrResponseFut: Future<Output = Result<ClosedTargetTwoWayStructPayloadErrResult, Error>> + Send;
type TwoWayStructRequestResponseFut: Future<Output = Result<(), Error>> + Send;
type TwoWayTableRequestResponseFut: Future<Output = Result<(), Error>> + Send;
type TwoWayUnionRequestResponseFut: Future<Output = Result<(), Error>> + Send;
// Required methods
fn two_way_no_payload(&self) -> Self::TwoWayNoPayloadResponseFut;
fn two_way_struct_payload(&self) -> Self::TwoWayStructPayloadResponseFut;
fn two_way_table_payload(&self) -> Self::TwoWayTablePayloadResponseFut;
fn two_way_union_payload(&self) -> Self::TwoWayUnionPayloadResponseFut;
fn two_way_struct_payload_err(
&self,
) -> Self::TwoWayStructPayloadErrResponseFut;
fn two_way_struct_request(
&self,
some_field: i32,
) -> Self::TwoWayStructRequestResponseFut;
fn two_way_table_request(
&self,
payload: &TablePayload,
) -> Self::TwoWayTableRequestResponseFut;
fn two_way_union_request(
&self,
payload: &UnionPayload,
) -> Self::TwoWayUnionRequestResponseFut;
fn one_way_no_request(&self) -> Result<(), Error>;
fn one_way_struct_request(&self, some_field: i32) -> Result<(), Error>;
fn one_way_table_request(&self, payload: &TablePayload) -> Result<(), Error>;
fn one_way_union_request(&self, payload: &UnionPayload) -> Result<(), Error>;
}