Trait http_api_endpoint::Endpoint[][src]

pub trait Endpoint {
    type RenderRequestError: 'static + Error + Send + Sync;
    type ParseResponseOutput;
    type ParseResponseError: 'static + Error + Send + Sync;
    fn render_request(
        &self
    ) -> Result<Request<Vec<u8, Global>>, Self::RenderRequestError>;
fn parse_response(
        &self,
        response: Response<Vec<u8, Global>>
    ) -> Result<Self::ParseResponseOutput, Self::ParseResponseError>; }

Associated Types

Required methods

Trait Implementations

Formats the value using the given formatter. Read more

Formats the value using the given formatter. Read more

Implementors