pub type PropertyValueCallback = Option<unsafe extern "C" fn(key: *const c_char, value: *const c_char, last: bool, context: *mut c_void)>;Expand description
Callback type called every time another key-value pair of device information is ready
§Arguments
key[in]- device information type identifiervalue[in]- device information valuelast[in]- whether the passed key-value pair is the last onecontext[in]- to pass to callback
Aliased Type§
pub enum PropertyValueCallback {
None,
Some(unsafe extern "C" fn(*const u8, *const u8, bool, *mut c_void)),
}