#[repr(u32)]pub enum ResidentTerminalCode {
Running = 0,
Success = 1,
IterationLimit = 2,
CapacityOverflow = 3,
ResourceExhausted = 4,
}Expand description
Stable terminal status codes shared by every resident CUDA primitive.
Variants§
Trait Implementations§
Source§impl Clone for ResidentTerminalCode
impl Clone for ResidentTerminalCode
Source§fn clone(&self) -> ResidentTerminalCode
fn clone(&self) -> ResidentTerminalCode
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 ResidentTerminalCode
Source§impl Debug for ResidentTerminalCode
impl Debug for ResidentTerminalCode
impl Eq for ResidentTerminalCode
Source§impl PartialEq for ResidentTerminalCode
impl PartialEq for ResidentTerminalCode
Source§fn eq(&self, other: &ResidentTerminalCode) -> bool
fn eq(&self, other: &ResidentTerminalCode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ResidentTerminalCode
Auto Trait Implementations§
impl Freeze for ResidentTerminalCode
impl RefUnwindSafe for ResidentTerminalCode
impl Send for ResidentTerminalCode
impl Sync for ResidentTerminalCode
impl Unpin for ResidentTerminalCode
impl UnsafeUnpin for ResidentTerminalCode
impl UnwindSafe for ResidentTerminalCode
Blanket Implementations§
impl<T> Allocation for T
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
Checks if this value is equivalent to the given key. Read more