pub trait Endpoint: DynClone {
type RenderRequestError: Error + Send + Sync + 'static;
type ParseResponseOutput;
type ParseResponseError: Error + Send + Sync + 'static;
// Required methods
fn render_request(&self) -> Result<Request<Body>, Self::RenderRequestError>;
fn parse_response(
&self,
response: Response<Body>
) -> Result<Self::ParseResponseOutput, Self::ParseResponseError>;
}
Performs copy-assignment from
source
.
Read more
Performs copy-assignment from
source
.
Read more
Performs copy-assignment from
source
.
Read more
Performs copy-assignment from
source
.
Read more
Formats the value using the given formatter.
Read more
Formats the value using the given formatter.
Read more