pub enum CudaError {
Blas(CublasError),
Driver(DriverError),
Cpu(CpuError),
}
Variants§
Trait Implementations§
source§impl From<CublasError> for CudaError
impl From<CublasError> for CudaError
source§fn from(value: CublasError) -> Self
fn from(value: CublasError) -> Self
Converts to this type from the input type.
source§impl From<DriverError> for CudaError
impl From<DriverError> for CudaError
source§fn from(value: DriverError) -> Self
fn from(value: DriverError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for CudaError
impl Send for CudaError
impl Sync for CudaError
impl Unpin for CudaError
impl UnwindSafe for CudaError
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