pub struct NoOpMetrics;Expand description
No-op metrics collector for default behavior
Trait Implementations§
Source§impl MetricsCollector for NoOpMetrics
impl MetricsCollector for NoOpMetrics
Source§fn record_exchange_duration(&self, _route_id: &str, _duration: Duration)
fn record_exchange_duration(&self, _route_id: &str, _duration: Duration)
Record exchange processing time
Source§fn increment_errors(&self, _route_id: &str, _error_type: &str)
fn increment_errors(&self, _route_id: &str, _error_type: &str)
Increment error counter
Source§fn increment_exchanges(&self, _route_id: &str)
fn increment_exchanges(&self, _route_id: &str)
Increment exchange counter
Source§fn set_queue_depth(&self, _route_id: &str, _depth: usize)
fn set_queue_depth(&self, _route_id: &str, _depth: usize)
Update queue depth
Auto Trait Implementations§
impl Freeze for NoOpMetrics
impl RefUnwindSafe for NoOpMetrics
impl Send for NoOpMetrics
impl Sync for NoOpMetrics
impl Unpin for NoOpMetrics
impl UnsafeUnpin for NoOpMetrics
impl UnwindSafe for NoOpMetrics
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