pub struct PerformanceDiagnostic;Expand description
Performance diagnostic builder
Implementations§
Source§impl PerformanceDiagnostic
impl PerformanceDiagnostic
pub fn slow_operation( operation: &str, actual_time_ms: f64, expected_time_ms: f64, ) -> Diagnostic
pub fn high_memory_usage(peak_mb: f64, threshold_mb: f64) -> Diagnostic
Auto Trait Implementations§
impl Freeze for PerformanceDiagnostic
impl RefUnwindSafe for PerformanceDiagnostic
impl Send for PerformanceDiagnostic
impl Sync for PerformanceDiagnostic
impl Unpin for PerformanceDiagnostic
impl UnwindSafe for PerformanceDiagnostic
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