pub type PtrHotPlugStatusCallback = Option<unsafe extern "C" fn(pInfo: *const PsDeviceInfo, state: c_int)>;Expand description
@brief hotplug status callback function pInfo return the info of the Device, See ::PsDeviceInfo state 0:device added , 1:device removed
Aliased Type§
enum PtrHotPlugStatusCallback {
None,
Some(unsafe extern "C" fn(_: *const PsDeviceInfo, _: i32)),
}