pub trait Response {
type Output;
// Required method
fn response(&self, response: Response) -> Result<Self::Output, Error>;
}Expand description
Response
defines how to handle response body
pub trait Response {
type Output;
// Required method
fn response(&self, response: Response) -> Result<Self::Output, Error>;
}Response
defines how to handle response body