Trait authzen_service_util::Client
source · pub trait Client: Debug {
type Error: ClientError;
// Required methods
fn headers(&self) -> &HeaderMap;
fn rest<'life0, 'async_trait>(
&'life0 self,
request: Request<Body>
) -> Pin<Box<dyn Future<Output = Result<Response<Body>, Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}