pub trait ComposedProtocolProxyInterface: Send + Sync {
type TwoWayComposedResponseFut: Future<Output = Result<i32, Error>> + Send;
type TwoWayComposedWithErrorResponseFut: Future<Output = Result<ComposedProtocolTwoWayComposedWithErrorResult, Error>> + Send;
// Required methods
fn one_way_composed(&self, a: i32) -> Result<(), Error>;
fn two_way_composed(&self, a: i32) -> Self::TwoWayComposedResponseFut;
fn two_way_composed_with_error(
&self,
a: i32
) -> Self::TwoWayComposedWithErrorResponseFut;
}