Struct fibers_http_server::metrics::MetricsHandler [] [src]

pub struct MetricsHandler;

A handler for exposing prometheus metrics.

Trait Implementations

impl Debug for MetricsHandler
[src]

[src]

Formats the value using the given formatter. Read more

impl HandleRequest for MetricsHandler
[src]

METHOD: &'static str = "GET"

The method that the handler can handle.

PATH: &'static str = "/metrics"

The request path that the handler can handle. Read more

The type of the request bodies.

The type of the response bodies.

Request body decoder.

Response body encoder.

Future that represents reply to a request.

[src]

Handles a request.

[src]

Handles the head part of a request. Read more

[src]

Handles an error occurred while decoding the body of a request. Read more

Auto Trait Implementations