pub fn nvml_sym<'a, T>(sym: Result<&'a T, &Error>) -> Result<&'a T, NvmlError>
Helper to map a &libloading::Error into an NvmlError
&libloading::Error
NvmlError