[][src]Struct rocket_prometheus_logger::prometheus_fairing::PrometheusLogger

pub struct PrometheusLogger {
    pub address: String,
    pub metric_name: String,
    pub username: String,
    pub password: String,
}

Fields

address: Stringmetric_name: Stringusername: Stringpassword: String

Trait Implementations

impl Fairing for PrometheusLogger[src]

fn on_attach(&self, rocket: Rocket) -> Result<Rocket, Rocket>[src]

The attach callback. Returns Ok if launch should proceed and Err if launch should be aborted. Read more

fn on_launch(&self, rocket: &Rocket)[src]

The launch callback. Read more

Auto Trait Implementations

Blanket Implementations

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

impl<T> From for T[src]

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

type Error = !

πŸ”¬ This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

πŸ”¬ This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

impl<T> Erased for T

impl<T> Typeable for T where
    T: Any

fn get_type(&self) -> TypeId

Get the TypeId of this object.

impl<T> IntoCollection for T

impl<T, I> AsResult for T where
    I: Input,