[][src]Trait matrix_sdk_common::Endpoint

pub trait Endpoint: TryInto<Request<Vec<u8>>, Error = IntoHttpError> + TryFrom<Request<Vec<u8>>, Error = FromHttpRequestError> where
    <Self::Response as TryInto<Response<Vec<u8>>>>::Error == IntoHttpError,
    <Self::Response as TryFrom<Response<Vec<u8>>>>::Error == FromHttpResponseError<Self::ResponseError>, 
{ type Response: TryInto<Response<Vec<u8>>> + TryFrom<Response<Vec<u8>>>; type ResponseError: EndpointError; const METADATA: Metadata; }

A Matrix API endpoint.

The type implementing this trait contains any data needed to make a request to the endpoint.

Associated Types

type Response: TryInto<Response<Vec<u8>>> + TryFrom<Response<Vec<u8>>>

Data returned in a successful response from the endpoint.

type ResponseError: EndpointError

Error type returned when response from endpoint fails.

Loading content...

Associated Constants

const METADATA: Metadata

Metadata about the endpoint.

Loading content...

Implementations on Foreign Types

impl Endpoint for Request[src]

type Response = Response

type ResponseError = Error

const METADATA: Metadata[src]

Metadata for the #name endpoint.

impl Endpoint for Request[src]

type Response = Response

type ResponseError = Error

const METADATA: Metadata[src]

Metadata for the #name endpoint.

impl Endpoint for Request[src]

type Response = Response

type ResponseError = Error

const METADATA: Metadata[src]

Metadata for the #name endpoint.

impl Endpoint for Request[src]

type Response = Response

type ResponseError = Error

const METADATA: Metadata[src]

Metadata for the #name endpoint.

impl Endpoint for Request[src]

type Response = Response

type ResponseError = Error

const METADATA: Metadata[src]

Metadata for the #name endpoint.

impl Endpoint for Request[src]

type Response = Response

type ResponseError = Error

const METADATA: Metadata[src]

Metadata for the #name endpoint.

impl Endpoint for Request[src]

type Response = Response

type ResponseError = Error

const METADATA: Metadata[src]

Metadata for the #name endpoint.

impl Endpoint for Request[src]

type Response = Response

type ResponseError = Error

const METADATA: Metadata[src]

Metadata for the #name endpoint.

impl Endpoint for Request[src]

type Response = Response

type ResponseError = Error

const METADATA: Metadata[src]

Metadata for the #name endpoint.

impl Endpoint for Request[src]

type Response = Response

type ResponseError = UiaaResponse

const METADATA: Metadata[src]

Metadata for the #name endpoint.

impl Endpoint for Request[src]

type Response = Response

type ResponseError = Error

const METADATA: Metadata[src]

Metadata for the #name endpoint.

impl Endpoint for Request[src]

type Response = Response

type ResponseError = Error

const METADATA: Metadata[src]

Metadata for the #name endpoint.

impl Endpoint for Request[src]

type Response = Response

type ResponseError = Error

const METADATA: Metadata[src]

Metadata for the #name endpoint.

impl Endpoint for Request[src]

type Response = Response

type ResponseError = Error

const METADATA: Metadata[src]

Metadata for the #name endpoint.

impl Endpoint for Request[src]

type Response = Response

type ResponseError = Error

const METADATA: Metadata[src]

Metadata for the #name endpoint.

impl Endpoint for Request[src]

type Response = Response

type ResponseError = Error

const METADATA: Metadata[src]

Metadata for the #name endpoint.

impl Endpoint for Request[src]

type Response = Response

type ResponseError = Error

const METADATA: Metadata[src]

Metadata for the #name endpoint.

impl Endpoint for Request[src]

type Response = Response

type ResponseError = Error

const METADATA: Metadata[src]

Metadata for the #name endpoint.

impl Endpoint for Request[src]

type Response = Response

type ResponseError = Error

const METADATA: Metadata[src]

Metadata for the #name endpoint.

impl Endpoint for Request[src]

type Response = Response

type ResponseError = Error

const METADATA: Metadata[src]

Metadata for the #name endpoint.

impl Endpoint for Request[src]

type Response = Response

type ResponseError = Error

const METADATA: Metadata[src]

Metadata for the #name endpoint.

impl Endpoint for Request[src]

type Response = Response

type ResponseError = UiaaResponse

const METADATA: Metadata[src]

Metadata for the #name endpoint.

impl Endpoint for Request[src]

type Response = Response

type ResponseError = Error

const METADATA: Metadata[src]

Metadata for the #name endpoint.

impl Endpoint for Request[src]

type Response = Response

type ResponseError = UiaaResponse

const METADATA: Metadata[src]

Metadata for the #name endpoint.

impl Endpoint for Request[src]

type Response = Response

type ResponseError = Error

const METADATA: Metadata[src]

Metadata for the #name endpoint.

impl Endpoint for Request[src]

type Response = Response

type ResponseError = Error

const METADATA: Metadata[src]

Metadata for the #name endpoint.

impl Endpoint for Request[src]

type Response = Response

type ResponseError = Error

const METADATA: Metadata[src]

Metadata for the #name endpoint.

impl Endpoint for Request[src]

type Response = Response

type ResponseError = Error

const METADATA: Metadata[src]

Metadata for the #name endpoint.

impl Endpoint for Request[src]

type Response = Response

type ResponseError = Error

const METADATA: Metadata[src]

Metadata for the #name endpoint.

impl Endpoint for Request[src]

type Response = Response

type ResponseError = Error

const METADATA: Metadata[src]

Metadata for the #name endpoint.

impl Endpoint for Request[src]

type Response = Response

type ResponseError = Error

const METADATA: Metadata[src]

Metadata for the #name endpoint.

impl Endpoint for Request[src]

type Response = Response

type ResponseError = UiaaResponse

const METADATA: Metadata[src]

Metadata for the #name endpoint.

impl Endpoint for Request[src]

type Response = Response

type ResponseError = Error

const METADATA: Metadata[src]

Metadata for the #name endpoint.

impl Endpoint for Request[src]

type Response = Response

type ResponseError = Error

const METADATA: Metadata[src]

Metadata for the #name endpoint.

impl Endpoint for Request[src]

type Response = Response

type ResponseError = Error

const METADATA: Metadata[src]

Metadata for the #name endpoint.

impl Endpoint for Request[src]

type Response = Response

type ResponseError = Error

const METADATA: Metadata[src]

Metadata for the #name endpoint.

impl Endpoint for Request[src]

type Response = Response

type ResponseError = Error

const METADATA: Metadata[src]

Metadata for the #name endpoint.

impl Endpoint for Request[src]

type Response = Response

type ResponseError = Error

const METADATA: Metadata[src]

Metadata for the #name endpoint.

impl Endpoint for Request[src]

type Response = Response

type ResponseError = Error

const METADATA: Metadata[src]

Metadata for the #name endpoint.

impl Endpoint for Request[src]

type Response = Response

type ResponseError = Error

const METADATA: Metadata[src]

Metadata for the #name endpoint.

impl Endpoint for Request[src]

type Response = Response

type ResponseError = Error

const METADATA: Metadata[src]

Metadata for the #name endpoint.

impl Endpoint for Request[src]

type Response = Response

type ResponseError = Error

const METADATA: Metadata[src]

Metadata for the #name endpoint.

impl Endpoint for Request[src]

type Response = Response

type ResponseError = Error

const METADATA: Metadata[src]

Metadata for the #name endpoint.

impl Endpoint for Request[src]

type Response = Response

type ResponseError = Error

const METADATA: Metadata[src]

Metadata for the #name endpoint.

impl Endpoint for Request[src]

type Response = Response

type ResponseError = Error

const METADATA: Metadata[src]

Metadata for the #name endpoint.

impl Endpoint for Request[src]

type Response = Response

type ResponseError = Error

const METADATA: Metadata[src]

Metadata for the #name endpoint.

impl Endpoint for Request[src]

type Response = Response

type ResponseError = Error

const METADATA: Metadata[src]

Metadata for the #name endpoint.

impl Endpoint for Request[src]

type Response = Response

type ResponseError = Error

const METADATA: Metadata[src]

Metadata for the #name endpoint.

impl Endpoint for Request[src]

type Response = Response

type ResponseError = Error

const METADATA: Metadata[src]

Metadata for the #name endpoint.

impl Endpoint for Request[src]

type Response = Response

type ResponseError = Error

const METADATA: Metadata[src]

Metadata for the #name endpoint.

impl Endpoint for Request[src]

type Response = Response

type ResponseError = Error

const METADATA: Metadata[src]

Metadata for the #name endpoint.

impl Endpoint for Request[src]

type Response = Response

type ResponseError = Error

const METADATA: Metadata[src]

Metadata for the #name endpoint.

impl Endpoint for Request[src]

type Response = Response

type ResponseError = UiaaResponse

const METADATA: Metadata[src]

Metadata for the #name endpoint.

impl Endpoint for Request[src]

type Response = Response

type ResponseError = Error

const METADATA: Metadata[src]

Metadata for the #name endpoint.

impl Endpoint for Request[src]

type Response = Response

type ResponseError = Error

const METADATA: Metadata[src]

Metadata for the #name endpoint.

impl Endpoint for Request[src]

type Response = Response

type ResponseError = Error

const METADATA: Metadata[src]

Metadata for the #name endpoint.

impl Endpoint for Request[src]

type Response = Response

type ResponseError = Error

const METADATA: Metadata[src]

Metadata for the #name endpoint.

impl Endpoint for Request[src]

type Response = Response

type ResponseError = Error

const METADATA: Metadata[src]

Metadata for the #name endpoint.

impl Endpoint for Request[src]

type Response = Response

type ResponseError = Error

const METADATA: Metadata[src]

Metadata for the #name endpoint.

impl Endpoint for Request[src]

type Response = Response

type ResponseError = Error

const METADATA: Metadata[src]

Metadata for the #name endpoint.

impl Endpoint for Request[src]

type Response = Response

type ResponseError = Error

const METADATA: Metadata[src]

Metadata for the #name endpoint.

impl Endpoint for Request[src]

type Response = Response

type ResponseError = Error

const METADATA: Metadata[src]

Metadata for the #name endpoint.

impl Endpoint for Request[src]

type Response = Response

type ResponseError = Error

const METADATA: Metadata[src]

Metadata for the #name endpoint.

impl Endpoint for Request[src]

type Response = Response

type ResponseError = Error

const METADATA: Metadata[src]

Metadata for the #name endpoint.

impl Endpoint for Request[src]

type Response = Response

type ResponseError = Error

const METADATA: Metadata[src]

Metadata for the #name endpoint.

impl Endpoint for Request[src]

type Response = Response

type ResponseError = Error

const METADATA: Metadata[src]

Metadata for the #name endpoint.

impl Endpoint for Request[src]

type Response = Response

type ResponseError = Error

const METADATA: Metadata[src]

Metadata for the #name endpoint.

impl Endpoint for Request[src]

type Response = Response

type ResponseError = Error

const METADATA: Metadata[src]

Metadata for the #name endpoint.

impl Endpoint for Request[src]

type Response = Response

type ResponseError = Error

const METADATA: Metadata[src]

Metadata for the #name endpoint.

impl Endpoint for Request[src]

type Response = Response

type ResponseError = Error

const METADATA: Metadata[src]

Metadata for the #name endpoint.

impl Endpoint for Request[src]

type Response = Response

type ResponseError = Error

const METADATA: Metadata[src]

Metadata for the #name endpoint.

impl Endpoint for Request[src]

type Response = Response

type ResponseError = Error

const METADATA: Metadata[src]

Metadata for the #name endpoint.

impl Endpoint for Request[src]

type Response = Response

type ResponseError = Error

const METADATA: Metadata[src]

Metadata for the #name endpoint.

impl Endpoint for Request[src]

type Response = Response

type ResponseError = Error

const METADATA: Metadata[src]

Metadata for the #name endpoint.

impl Endpoint for Request[src]

type Response = Response

type ResponseError = Error

const METADATA: Metadata[src]

Metadata for the #name endpoint.

impl Endpoint for Request[src]

type Response = Response

type ResponseError = Error

const METADATA: Metadata[src]

Metadata for the #name endpoint.

impl Endpoint for Request[src]

type Response = Response

type ResponseError = Error

const METADATA: Metadata[src]

Metadata for the #name endpoint.

impl Endpoint for Request[src]

type Response = Response

type ResponseError = Error

const METADATA: Metadata[src]

Metadata for the #name endpoint.

impl Endpoint for Request[src]

type Response = Response

type ResponseError = Error

const METADATA: Metadata[src]

Metadata for the #name endpoint.

impl Endpoint for Request[src]

type Response = Response

type ResponseError = Error

const METADATA: Metadata[src]

Metadata for the #name endpoint.

impl Endpoint for Request[src]

type Response = Response

type ResponseError = Error

const METADATA: Metadata[src]

Metadata for the #name endpoint.

impl Endpoint for Request[src]

type Response = Response

type ResponseError = Error

const METADATA: Metadata[src]

Metadata for the #name endpoint.

impl Endpoint for Request[src]

type Response = Response

type ResponseError = Error

const METADATA: Metadata[src]

Metadata for the #name endpoint.

impl Endpoint for Request[src]

type Response = Response

type ResponseError = Error

const METADATA: Metadata[src]

Metadata for the #name endpoint.

impl Endpoint for Request[src]

type Response = Response

type ResponseError = Error

const METADATA: Metadata[src]

Metadata for the #name endpoint.

impl Endpoint for Request[src]

type Response = Response

type ResponseError = Error

const METADATA: Metadata[src]

Metadata for the #name endpoint.

impl Endpoint for Request[src]

type Response = Response

type ResponseError = Error

const METADATA: Metadata[src]

Metadata for the #name endpoint.

impl Endpoint for Request[src]

type Response = Response

type ResponseError = Error

const METADATA: Metadata[src]

Metadata for the #name endpoint.

impl Endpoint for Request[src]

type Response = Response

type ResponseError = Error

const METADATA: Metadata[src]

Metadata for the #name endpoint.

impl Endpoint for Request[src]

type Response = Response

type ResponseError = Error

const METADATA: Metadata[src]

Metadata for the #name endpoint.

impl Endpoint for Request[src]

type Response = Response

type ResponseError = Error

const METADATA: Metadata[src]

Metadata for the #name endpoint.

impl Endpoint for Request[src]

type Response = Response

type ResponseError = Error

const METADATA: Metadata[src]

Metadata for the #name endpoint.

impl Endpoint for Request[src]

type Response = Response

type ResponseError = Error

const METADATA: Metadata[src]

Metadata for the #name endpoint.

impl Endpoint for Request[src]

type Response = Response

type ResponseError = Error

const METADATA: Metadata[src]

Metadata for the #name endpoint.

impl Endpoint for Request[src]

type Response = Response

type ResponseError = Error

const METADATA: Metadata[src]

Metadata for the #name endpoint.

impl Endpoint for Request[src]

type Response = Response

type ResponseError = Error

const METADATA: Metadata[src]

Metadata for the #name endpoint.

impl Endpoint for Request[src]

type Response = Response

type ResponseError = Error

const METADATA: Metadata[src]

Metadata for the #name endpoint.

impl Endpoint for Request[src]

type Response = Response

type ResponseError = Error

const METADATA: Metadata[src]

Metadata for the #name endpoint.

impl Endpoint for Request[src]

type Response = Response

type ResponseError = Error

const METADATA: Metadata[src]

Metadata for the #name endpoint.

impl Endpoint for Request[src]

type Response = Response

type ResponseError = Error

const METADATA: Metadata[src]

Metadata for the #name endpoint.

impl Endpoint for Request[src]

type Response = Response

type ResponseError = Error

const METADATA: Metadata[src]

Metadata for the #name endpoint.

impl Endpoint for Request[src]

type Response = Response

type ResponseError = Error

const METADATA: Metadata[src]

Metadata for the #name endpoint.

impl Endpoint for Request[src]

type Response = Response

type ResponseError = Error

const METADATA: Metadata[src]

Metadata for the #name endpoint.

impl Endpoint for Request[src]

type Response = Response

type ResponseError = Error

const METADATA: Metadata[src]

Metadata for the #name endpoint.

impl Endpoint for Request[src]

type Response = Response

type ResponseError = Error

const METADATA: Metadata[src]

Metadata for the #name endpoint.

impl Endpoint for Request[src]

type Response = Response

type ResponseError = Error

const METADATA: Metadata[src]

Metadata for the #name endpoint.

impl Endpoint for Request[src]

type Response = Response

type ResponseError = Error

const METADATA: Metadata[src]

Metadata for the #name endpoint.

impl Endpoint for Request[src]

type Response = Response

type ResponseError = Error

const METADATA: Metadata[src]

Metadata for the #name endpoint.

impl Endpoint for Request[src]

type Response = Response

type ResponseError = Error

const METADATA: Metadata[src]

Metadata for the #name endpoint.

impl Endpoint for Request[src]

type Response = Response

type ResponseError = Error

const METADATA: Metadata[src]

Metadata for the #name endpoint.

impl Endpoint for Request[src]

type Response = Response

type ResponseError = Error

const METADATA: Metadata[src]

Metadata for the #name endpoint.

impl Endpoint for Request[src]

type Response = Response

type ResponseError = Error

const METADATA: Metadata[src]

Metadata for the #name endpoint.

impl Endpoint for Request[src]

type Response = Response

type ResponseError = Error

const METADATA: Metadata[src]

Metadata for the #name endpoint.

Loading content...

Implementors

Loading content...