pub type Error = Error<CUresult>;Expand description
A driver-API error: either a non-success CUresult, a loader failure, or
a feature-not-supported-on-this-driver error.
Aliased Type§
pub enum Error {
Status {
status: CUresult,
},
Loader(LoaderError),
FeatureNotSupported {
api: &'static str,
since: CudaVersion,
},
}Variants§
Status
The library returned a non-success status code.
Loader(LoaderError)
The dynamic loader failed.
FeatureNotSupported
The requested API is newer than the installed driver supports.