pub trait IntoEndpoint {
    type Endpoint: Endpoint;

    // Required method
    fn into_endpoint(self) -> Self::Endpoint;
}
Expand description

Represents a type that can convert into endpoint.

Required Associated Types§

source

type Endpoint: Endpoint

Represents the endpoint type.

Required Methods§

source

fn into_endpoint(self) -> Self::Endpoint

Converts this object into endpoint.

Implementors§

source§

impl IntoEndpoint for PrometheusExporter

§

type Endpoint = PrometheusExporterEndpoint

source§

impl<T: Endpoint> IntoEndpoint for T

§

type Endpoint = T