pub type IOServiceMatchingCallback = Option<unsafe extern "C-unwind" fn(*mut c_void, io_iterator_t)>;Available on crate feature
libc only.Expand description
Callback function to be notified of IOService publication.
Parameter refcon: The refcon passed when the notification was installed.
Parameter iterator: The notification iterator which now has new objects.
See also Apple’s documentation
Aliased Type§
pub enum IOServiceMatchingCallback {
None,
Some(unsafe extern "C-unwind" fn(*mut c_void, u32)),
}