#[repr(usize)]pub enum WatchdogMetric {
LongTaskPoll = 0,
NonYieldingTask = 1,
RuntimeWorkerStall = 2,
ExecutorStall = 3,
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for WatchdogMetric
impl Clone for WatchdogMetric
Source§fn clone(&self) -> WatchdogMetric
fn clone(&self) -> WatchdogMetric
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for WatchdogMetric
Source§impl Debug for WatchdogMetric
impl Debug for WatchdogMetric
impl Eq for WatchdogMetric
Source§impl Ord for WatchdogMetric
impl Ord for WatchdogMetric
Source§fn cmp(&self, other: &WatchdogMetric) -> Ordering
fn cmp(&self, other: &WatchdogMetric) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for WatchdogMetric
impl PartialEq for WatchdogMetric
Source§impl PartialOrd for WatchdogMetric
impl PartialOrd for WatchdogMetric
impl StructuralPartialEq for WatchdogMetric
Auto Trait Implementations§
impl Freeze for WatchdogMetric
impl RefUnwindSafe for WatchdogMetric
impl Send for WatchdogMetric
impl Sync for WatchdogMetric
impl Unpin for WatchdogMetric
impl UnsafeUnpin for WatchdogMetric
impl UnwindSafe for WatchdogMetric
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