pub enum PerformanceMetric {
ContextSwitchTime,
SchedulingLatency,
MemoryUsage,
CpuUtilization,
ThreadCount,
LockContention,
}
Expand description
Performance metrics for auditing.
Variants§
Trait Implementations§
Source§impl Clone for PerformanceMetric
impl Clone for PerformanceMetric
Source§fn clone(&self) -> PerformanceMetric
fn clone(&self) -> PerformanceMetric
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 PerformanceMetric
impl Debug for PerformanceMetric
impl Copy for PerformanceMetric
Auto Trait Implementations§
impl Freeze for PerformanceMetric
impl RefUnwindSafe for PerformanceMetric
impl Send for PerformanceMetric
impl Sync for PerformanceMetric
impl Unpin for PerformanceMetric
impl UnwindSafe for PerformanceMetric
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