#[non_exhaustive]pub enum DiagnosticMetric {
Cpu,
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Cpu
Trait Implementations§
Source§impl Clone for DiagnosticMetric
impl Clone for DiagnosticMetric
impl Copy for DiagnosticMetric
Source§impl Debug for DiagnosticMetric
impl Debug for DiagnosticMetric
Auto Trait Implementations§
impl Freeze for DiagnosticMetric
impl RefUnwindSafe for DiagnosticMetric
impl Send for DiagnosticMetric
impl Sync for DiagnosticMetric
impl Unpin for DiagnosticMetric
impl UnsafeUnpin for DiagnosticMetric
impl UnwindSafe for DiagnosticMetric
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