Struct poem::middleware::TokioMetrics
source · pub struct TokioMetrics { /* private fields */ }
Available on crate feature
tokio-metrics
only.Expand description
Middleware for metrics with tokio-metrics
crate.
Implementations
Trait Implementations
sourceimpl Default for TokioMetrics
impl Default for TokioMetrics
sourceimpl<E: Endpoint> Middleware<E> for TokioMetrics
impl<E: Endpoint> Middleware<E> for TokioMetrics
Auto Trait Implementations
impl !RefUnwindSafe for TokioMetrics
impl Send for TokioMetrics
impl Sync for TokioMetrics
impl Unpin for TokioMetrics
impl !UnwindSafe for TokioMetrics
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more