pub struct MetricsMiddleware {}Expand description
Metrics middleware configuration.
Enables collection and reporting of message processing metrics such as throughput, latency, and error rates. The presence of this middleware in the configuration enables metrics collection for the endpoint.
Metrics are typically exported via Prometheus or similar monitoring systems.
Trait Implementations§
Source§impl Clone for MetricsMiddleware
impl Clone for MetricsMiddleware
Source§fn clone(&self) -> MetricsMiddleware
fn clone(&self) -> MetricsMiddleware
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MetricsMiddleware
impl Debug for MetricsMiddleware
Source§impl<'de> Deserialize<'de> for MetricsMiddleware
impl<'de> Deserialize<'de> for MetricsMiddleware
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for MetricsMiddleware
impl RefUnwindSafe for MetricsMiddleware
impl Send for MetricsMiddleware
impl Sync for MetricsMiddleware
impl Unpin for MetricsMiddleware
impl UnsafeUnpin for MetricsMiddleware
impl UnwindSafe for MetricsMiddleware
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more