pub struct GlobalObservability { /* private fields */ }Expand description
Global observability state for server integration
Implementations§
Source§impl GlobalObservability
impl GlobalObservability
Sourcepub async fn set_security_audit_logger(&self, logger: SecurityAuditLogger)
pub async fn set_security_audit_logger(&self, logger: SecurityAuditLogger)
Set security audit logger
Sourcepub async fn set_performance_monitor(&self, monitor: PerformanceMonitor)
pub async fn set_performance_monitor(&self, monitor: PerformanceMonitor)
Set performance monitor
Sourcepub async fn security_audit_logger(&self) -> Option<SecurityAuditLogger>
pub async fn security_audit_logger(&self) -> Option<SecurityAuditLogger>
Get security audit logger
Sourcepub async fn performance_monitor(&self) -> Option<PerformanceMonitor>
pub async fn performance_monitor(&self) -> Option<PerformanceMonitor>
Get performance monitor
Trait Implementations§
Source§impl Debug for GlobalObservability
impl Debug for GlobalObservability
Auto Trait Implementations§
impl !Freeze for GlobalObservability
impl !RefUnwindSafe for GlobalObservability
impl Send for GlobalObservability
impl Sync for GlobalObservability
impl Unpin for GlobalObservability
impl !UnwindSafe for GlobalObservability
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