fidl_fidl_clientsuite

Trait 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) -> Self::StrictTwoWayFieldsResponseFut;
    fn strict_two_way_err(&self) -> Self::StrictTwoWayErrResponseFut;
    fn strict_two_way_fields_err(
        &self,
    ) -> Self::StrictTwoWayFieldsErrResponseFut;
    fn flexible_two_way(&self) -> Self::FlexibleTwoWayResponseFut;
    fn flexible_two_way_fields(&self) -> Self::FlexibleTwoWayFieldsResponseFut;
    fn flexible_two_way_err(&self) -> Self::FlexibleTwoWayErrResponseFut;
    fn flexible_two_way_fields_err(
        &self,
    ) -> Self::FlexibleTwoWayFieldsErrResponseFut;
}

Required Associated Types§

Required Methods§

Implementors§