DropResult

Type Alias DropResult 

Source
pub type DropResult<T> = Result<(), (CudaError, T)>;
Expand description

Special result type for drop functions which includes the un-dropped value with the error.

Aliased Type§

pub enum DropResult<T> {
    Ok(()),
    Err((CudaError, T)),
}

Variants§

§1.0.0

Ok(())

Contains the success value

§1.0.0

Err((CudaError, T))

Contains the error value