pub type IOAsyncCallback = Option<unsafe extern "C-unwind" fn(*mut c_void, IOReturn, *mut *mut c_void, u32)>;Expand description
standard callback function for asynchronous I/O requests with lots of extra arguments beyond a refcon and result code.
Parameter refcon: The refcon passed into the original I/O request
Parameter result: The result of the I/O operation
Parameter args: Array of extra arguments
Parameter numArgs: Number of extra arguments
See also Apple’s documentation
Aliased Type§
pub enum IOAsyncCallback {
None,
Some(unsafe extern "C-unwind" fn(*mut c_void, i32, *mut *mut c_void, u32)),
}