Struct nncombinator::error::CudaRuntimeError
source · [−]pub struct CudaRuntimeError { /* private fields */ }
Expand description
Error in cuda runtime
Implementations
sourceimpl CudaRuntimeError
impl CudaRuntimeError
sourcepub fn new(raw: cudaError_t) -> CudaRuntimeError
pub fn new(raw: cudaError_t) -> CudaRuntimeError
Creation of an instance of CudaRuntimeError
Trait Implementations
sourceimpl Debug for CudaRuntimeError
impl Debug for CudaRuntimeError
sourceimpl Display for CudaRuntimeError
impl Display for CudaRuntimeError
sourceimpl Error for CudaRuntimeError
impl Error for CudaRuntimeError
sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
sourceimpl From<CudaRuntimeError> for EvaluateError
impl From<CudaRuntimeError> for EvaluateError
sourcefn from(err: CudaRuntimeError) -> EvaluateError
fn from(err: CudaRuntimeError) -> EvaluateError
Converts to this type from the input type.
sourceimpl From<CudaRuntimeError> for TrainingError
impl From<CudaRuntimeError> for TrainingError
sourcefn from(err: CudaRuntimeError) -> TrainingError
fn from(err: CudaRuntimeError) -> TrainingError
Converts to this type from the input type.
Auto Trait Implementations
impl RefUnwindSafe for CudaRuntimeError
impl Send for CudaRuntimeError
impl Sync for CudaRuntimeError
impl Unpin for CudaRuntimeError
impl UnwindSafe for CudaRuntimeError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more