Struct tide_prometheus::Prometheus [−][src]
pub struct Prometheus { /* fields omitted */ }
Expand description
Tide middleware for prometheus
with a few default metrics.
Implementations
Creates a new Prometheus middleware. This also creates and registers the
metrics in the prometheus::default_registry
.
Trait Implementations
Asynchronously handle the request, and return a response.
Auto Trait Implementations
impl !RefUnwindSafe for Prometheus
impl Send for Prometheus
impl Sync for Prometheus
impl Unpin for Prometheus
impl !UnwindSafe for Prometheus
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self