Function nvapi_hi::sys::status_result [] [src]

pub fn status_result(status: i32) -> Result<(), Status>

Treat NVAPI_OK as Ok(()) and all else as an Err(..).