pub struct PerformanceExtension { /* private fields */ }Expand description
Enhanced observability manager with performance and convenience features
Implementations§
Source§impl PerformanceExtension
impl PerformanceExtension
Sourcepub fn new(config: EnhancedObservabilityConfig) -> Result<Self>
pub fn new(config: EnhancedObservabilityConfig) -> Result<Self>
Create new enhanced extension
Sourcepub fn initialize(&mut self) -> Result<()>
pub fn initialize(&mut self) -> Result<()>
Initialize all configured features
pub fn is_performance_enabled(&self) -> bool
pub fn is_correlation_enabled(&self) -> bool
Sourcepub fn is_convenience_enabled(&self) -> bool
pub fn is_convenience_enabled(&self) -> bool
Check if convenience features are enabled
Sourcepub fn base(&self) -> &ObservabilityManager
pub fn base(&self) -> &ObservabilityManager
Get base observability manager
Sourcepub fn config(&self) -> &EnhancedObservabilityConfig
pub fn config(&self) -> &EnhancedObservabilityConfig
Get enhanced configuration
Sourcepub fn process_log_entry(&self, entry: LogEntry) -> Result<LogEntry>
pub fn process_log_entry(&self, entry: LogEntry) -> Result<LogEntry>
Process log entry through all enabled features
Sourcepub fn get_panic_stats(&self) -> Result<PanicStats>
pub fn get_panic_stats(&self) -> Result<PanicStats>
Get panic statistics if panic handler is enabled
Sourcepub fn reset_panic_stats(&self) -> Result<()>
pub fn reset_panic_stats(&self) -> Result<()>
Reset panic statistics if panic handler is enabled
Sourcepub fn capabilities(&self) -> Vec<&'static str>
pub fn capabilities(&self) -> Vec<&'static str>
Get manager capabilities
Auto Trait Implementations§
impl !RefUnwindSafe for PerformanceExtension
impl !UnwindSafe for PerformanceExtension
impl Forget for PerformanceExtension
impl Freeze for PerformanceExtension
impl Move for PerformanceExtension
impl Send for PerformanceExtension
impl Sync for PerformanceExtension
impl Unpin for PerformanceExtension
impl UnsafeUnpin for PerformanceExtension
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