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

pub struct MetricsHandler;

A handler for exposing prometheus metrics.

Trait Implementations

impl HandleRequest for MetricsHandler[src]

type ReqBody = ()

The type of the request bodies.

type ResBody = String

The type of the response bodies.

type Decoder = BodyDecoder<NullDecoder>

Request body decoder.

type Encoder = BodyEncoder<Utf8Encoder>

Response body encoder.

type Reply = Box<dyn Future<Item = Res<Self::ResBody>, Error = Never> + Send + 'static>

Future that represents reply to a request.

impl Debug for MetricsHandler[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = !

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> SendSyncUnwindSafe for T where
    T: Send + Sync + UnwindSafe + ?Sized
[src]