fidl_fidl_serversuiteTrait OpenTargetProxyInterface
Source pub trait OpenTargetProxyInterface: Send + Sync {
type StrictTwoWayResponseFut: Future<Output = Result<(), Error>> + Send;
type StrictTwoWayFieldsResponseFut: Future<Output = Result<i32, Error>> + Send;
type StrictTwoWayErrResponseFut: Future<Output = Result<OpenTargetStrictTwoWayErrResult, Error>> + Send;
type StrictTwoWayFieldsErrResponseFut: Future<Output = Result<OpenTargetStrictTwoWayFieldsErrResult, Error>> + Send;
type FlexibleTwoWayResponseFut: Future<Output = Result<(), Error>> + Send;
type FlexibleTwoWayFieldsResponseFut: Future<Output = Result<i32, Error>> + Send;
type FlexibleTwoWayErrResponseFut: Future<Output = Result<OpenTargetFlexibleTwoWayErrResult, Error>> + Send;
type FlexibleTwoWayFieldsErrResponseFut: Future<Output = Result<OpenTargetFlexibleTwoWayFieldsErrResult, Error>> + Send;
// Required methods
fn strict_one_way(&self) -> Result<(), Error>;
fn flexible_one_way(&self) -> Result<(), Error>;
fn strict_two_way(&self) -> Self::StrictTwoWayResponseFut;
fn strict_two_way_fields(
&self,
reply_with: i32,
) -> Self::StrictTwoWayFieldsResponseFut;
fn strict_two_way_err(
&self,
payload: &OpenTargetStrictTwoWayErrRequest,
) -> Self::StrictTwoWayErrResponseFut;
fn strict_two_way_fields_err(
&self,
payload: &OpenTargetStrictTwoWayFieldsErrRequest,
) -> Self::StrictTwoWayFieldsErrResponseFut;
fn flexible_two_way(&self) -> Self::FlexibleTwoWayResponseFut;
fn flexible_two_way_fields(
&self,
reply_with: i32,
) -> Self::FlexibleTwoWayFieldsResponseFut;
fn flexible_two_way_err(
&self,
payload: &OpenTargetFlexibleTwoWayErrRequest,
) -> Self::FlexibleTwoWayErrResponseFut;
fn flexible_two_way_fields_err(
&self,
payload: &OpenTargetFlexibleTwoWayFieldsErrRequest,
) -> Self::FlexibleTwoWayFieldsErrResponseFut;
}