pub type DropResult<T> = Result<(), (CudaError, T)>;
Special result type for drop functions which includes the un-dropped value with the error.
drop
pub enum DropResult<T> { Ok(()), Err((CudaError, T)), }
Contains the success value
Contains the error value