[−][src]Trait ruma_api::Endpoint
A Matrix API endpoint.
The type implementing this trait contains any data needed to make a request to the endpoint.
Associated Types
type Response: Outgoing + TryInto<Response<Vec<u8>>, Error = IntoHttpError>
Data returned in a successful response from the endpoint.
type ResponseError: EndpointError
Error type returned when response from endpoint fails.