pub struct NoopMetrics;Expand description
No-op implementation of SessionMetrics for builds without operations support.
Trait Implementations§
Source§impl SessionMetrics for NoopMetrics
impl SessionMetrics for NoopMetrics
fn record_session_start(&self)
fn record_session(&self, _report: &SessionReport)
fn record_route_decision(&self, _rule: &str, _action: &str, _outcome: &str)
fn record_upstream_open(&self, _protocol: &str, _outcome: &str)
fn record_upstream_failure(&self, _protocol: &str, _reason: &str)
fn record_auth_failure(&self)
fn record_platform_capability_check_failure(&self)
fn record_unix_listener_connection_accepted(&self)
fn record_reload(&self, _success: bool)
fn set_config_generation(&self, _generation: u64)
fn record_udp_association_created(&self)
fn render_prometheus(&self) -> String
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