Struct fibers_http_server::metrics::WithMetrics [] [src]

pub struct WithMetrics<H> { /* fields omitted */ }

A handler for granting the metrics collection functionality to the inner handler H.

Methods

impl<H: HandleRequest> WithMetrics<H>
[src]

[src]

Makes a new WithMetrics instance.

[src]

Makes a new WithMetrics instance with the given MetricBuilder.

[src]

Returns the metrics of the handler.

Trait Implementations

impl<H: Debug> Debug for WithMetrics<H>
[src]

[src]

Formats the value using the given formatter. Read more

impl<H: HandleRequest> HandleRequest for WithMetrics<H>
[src]

METHOD: &'static str = <H>::METHOD

The method that the handler can handle.

PATH: &'static str = <H>::PATH

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

impl<H> Send for WithMetrics<H> where
    H: Send

impl<H> Sync for WithMetrics<H> where
    H: Sync