pub struct LoggingMetrics;Expand description
Logging-based metrics implementation (for debugging)
Trait Implementations§
Source§impl AuthMetrics for LoggingMetrics
impl AuthMetrics for LoggingMetrics
Source§fn record_event(&self, event: AuthEvent, labels: &AuthMetricLabels)
fn record_event(&self, event: AuthEvent, labels: &AuthMetricLabels)
Record an auth event
Source§fn record_duration(&self, duration_ms: u64, labels: &AuthMetricLabels)
fn record_duration(&self, duration_ms: u64, labels: &AuthMetricLabels)
Record validation duration
Source§impl Clone for LoggingMetrics
impl Clone for LoggingMetrics
Source§fn clone(&self) -> LoggingMetrics
fn clone(&self) -> LoggingMetrics
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 LoggingMetrics
impl Debug for LoggingMetrics
impl Copy for LoggingMetrics
Auto Trait Implementations§
impl Freeze for LoggingMetrics
impl RefUnwindSafe for LoggingMetrics
impl Send for LoggingMetrics
impl Sync for LoggingMetrics
impl Unpin for LoggingMetrics
impl UnwindSafe for LoggingMetrics
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