pub trait Client {
type RespondError: 'static + Error;
fn respond<'life0, 'async_trait>(
&'life0 self,
request: Request<Vec<u8, Global>>
) -> Pin<Box<dyn Future<Output = Result<Response<Vec<u8, Global>>, Self::RespondError>> + Send + 'async_trait, Global>>
where
'life0: 'async_trait,
Self: 'async_trait;
fn respond_endpoint<'life0, 'life1, 'async_trait, EP>(
&'life0 self,
endpoint: &'life1 EP
) -> Pin<Box<dyn Future<Output = Result<<EP as Endpoint>::ParseResponseOutput, ClientRespondEndpointError<Self::RespondError, <EP as Endpoint>::RenderRequestError, <EP as Endpoint>::ParseResponseError>>> + Send + 'async_trait, Global>>
where
'life0: 'async_trait,
'life1: 'async_trait,
EP: Endpoint + Send + Sync + 'async_trait,
Self: 'async_trait + Sync,
{ ... }
}