nvml-wrapper
nvml-wrapper copied to clipboard
feat(error): implement From<NvmlError> for nvmlReturn_t conversion
- Add conversion implementation from custom NvmlError to nvmlReturn_t enum
- Handle all NvmlError variants with corresponding nvmlReturn_t values
- Use #[allow(deprecated)] attribute for compatibility