unsafe fn last_error(
funcs: &NV_ENCODE_API_FUNCTION_LIST,
session: *mut c_void,
) -> StringExpand description
The driver’s message for the last failure on session, or a stand-in when it has none: NVENC
clears the string once a session is torn down, so it is only meaningful read straight after
the call that failed.