Trait ruma_api::Endpoint [] [src]

pub trait Endpoint {
    type Request: TryInto<Request, Error = Error>;
    type Response: FutureFrom<Response, Error = Error>;

    const METADATA: Metadata;
}

A Matrix API endpoint.

Associated Types

Data needed to make a request to the endpoint.

Data returned from the endpoint.

Associated Constants

METADATA: Metadata

Metadata about the endpoint.

Implementors