pub enum ErrorKind {
SyncError,
InvalidInterval,
InvalidEventHandle,
WaitFailed,
FailedAdapterCreation,
FailedEventCreation,
FailedInfoQuery,
UnsupportedFeature,
}Expand description
Any kind of error that can occur in GPU telemetry.
Variants§
SyncError
Synchronization error between GPU and CPU or CPU threads.
InvalidInterval
Invalid interval used to initialize monitors (duration of zero).
InvalidEventHandle
Invalid event handle, only when an internal error occurs on DX.
WaitFailed
Waiting failed, usually related to Self::InvalidEventHandle.
FailedAdapterCreation
Failed to create an adapter and hence could not find a device.
FailedEventCreation
Failed to create an event for DX backend.
FailedInfoQuery
Failed to query the GPU for telemetry.
UnsupportedFeature
Devices don’t have required features for telemetry.
Trait Implementations§
Auto Trait Implementations§
impl Forget for ErrorKind
impl Freeze for ErrorKind
impl Move for ErrorKind
impl RefUnwindSafe for ErrorKind
impl Send for ErrorKind
impl Sync for ErrorKind
impl Unpin for ErrorKind
impl UnsafeUnpin for ErrorKind
impl UnwindSafe for ErrorKind
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