pub type IOHIDCompletionAction = Option<unsafe extern "C-unwind" fn(*mut c_void, *mut c_void, IOReturn, u32)>;Available on crate feature
hid only.Expand description
Function called when set/get report completes
Parameter target: The target specified in the IOHIDCompletion struct.
Parameter parameter: The parameter specified in the IOHIDCompletion struct.
Parameter status: Completion status
See also Apple’s documentation
Aliased Type§
pub enum IOHIDCompletionAction {
None,
Some(unsafe extern "C-unwind" fn(*mut c_void, *mut c_void, i32, u32)),
}