pub type CudaResult<T> = Result<T, ErrorCode>;
pub enum CudaResult<T> { Ok(T), Err(ErrorCode), }
Contains the success value
Contains the error value