pub enum FaultEventKind {
DeviceLost,
SurfaceDestroyed,
DriverSuspended,
ThermalThrottled,
}Expand description
Explicit hardware, surface, driver, or thermal fault classification excluded from seamless-handoff success counts.
Variants§
DeviceLost
Active GPU device or graphics context was lost; triggers immediate failover skipping perf comparison.
SurfaceDestroyed
OS destroyed or invalidated the presentation surface.
DriverSuspended
Graphics driver was suspended or reset by the OS.
ThermalThrottled
OS or hardware thermal throttling reduced sustained clock/refresh headroom.
Implementations§
Trait Implementations§
Source§impl Clone for FaultEventKind
impl Clone for FaultEventKind
impl Copy for FaultEventKind
Source§impl Debug for FaultEventKind
impl Debug for FaultEventKind
Source§impl Default for FaultEventKind
impl Default for FaultEventKind
Source§impl<'de> Deserialize<'de> for FaultEventKind
impl<'de> Deserialize<'de> for FaultEventKind
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for FaultEventKind
Source§impl Hash for FaultEventKind
impl Hash for FaultEventKind
Source§impl Ord for FaultEventKind
impl Ord for FaultEventKind
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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for FaultEventKind
impl PartialEq for FaultEventKind
Source§impl PartialOrd for FaultEventKind
impl PartialOrd for FaultEventKind
Source§impl Serialize for FaultEventKind
impl Serialize for FaultEventKind
impl StructuralPartialEq for FaultEventKind
Auto Trait Implementations§
impl Forget for FaultEventKind
impl Freeze for FaultEventKind
impl Move for FaultEventKind
impl RefUnwindSafe for FaultEventKind
impl Send for FaultEventKind
impl Sync for FaultEventKind
impl Unpin for FaultEventKind
impl UnsafeUnpin for FaultEventKind
impl UnwindSafe for FaultEventKind
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