Skip to main content

drain_capture_requests

Function drain_capture_requests 

Source
pub unsafe fn drain_capture_requests(
    api: NvPointerApi,
    handle: NvAppHandle,
    sink: &mut dyn FnMut(PointerCaptureRequest),
)
Expand description

Drains the capture requests of api’s app handle into sink, dropping malformed records.

§Safety

handle must be the live app handle of the module api was resolved from.