pub type IOAsyncCallback0 = Option<unsafe extern "C-unwind" fn(*mut c_void, IOReturn)>;Expand description
standard callback function for asynchronous I/O requests with no 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
See also Apple’s documentation
Aliased Type§
pub enum IOAsyncCallback0 {
None,
Some(unsafe extern "C-unwind" fn(*mut c_void, i32)),
}