pub enum Fatality {
ContextLost(String),
Isolated,
}Expand description
The verdict for one failed GPU operation.
Variants§
ContextLost(String)
The CUDA context is unusable. The process cannot recover and must be drained and restarted; the payload is the operator-facing reason.
Isolated
The operation failed but the context still works. Fail the request, keep the server.
Trait Implementations§
impl Eq for Fatality
impl StructuralPartialEq for Fatality
Auto Trait Implementations§
impl Freeze for Fatality
impl RefUnwindSafe for Fatality
impl Send for Fatality
impl Sync for Fatality
impl Unpin for Fatality
impl UnwindSafe for Fatality
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.