pub enum CudaConditionalGraphUnavailable {
DriverLibraryUnavailable,
MissingDriverSymbol {
symbol: &'static str,
},
DriverVersionQueryFailed {
code: CUresult,
},
DriverVersionTooOld {
found: i32,
required: i32,
},
DriverCallFailed {
operation: &'static str,
code: CUresult,
},
NullDriverHandle {
operation: &'static str,
},
ContextMismatch,
StreamCaptureBusy,
BodyPopulationFailed {
detail: String,
},
}Variants§
MissingDriverSymbol
DriverVersionQueryFailed
DriverVersionTooOld
DriverCallFailed
NullDriverHandle
ContextMismatch
StreamCaptureBusy
BodyPopulationFailed
Implementations§
pub fn is_unsupported(&self) -> bool
pub fn decline_detail(&self) -> String
pub fn body_population(error: impl Display) -> Self
Trait Implementations§
Source§fn clone(&self) -> CudaConditionalGraphUnavailable
fn clone(&self) -> CudaConditionalGraphUnavailable
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 more1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§fn eq(&self, other: &CudaConditionalGraphUnavailable) -> bool
fn eq(&self, other: &CudaConditionalGraphUnavailable) -> bool
Tests for
self and other values to be equal, and is used by ==.Auto Trait Implementations§
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