Type Definition paho_mqtt3as_sys::Persistence_containskey [] [src]

type Persistence_containskey = Option<unsafe extern "C" fn(_: *mut c_void, _: *mut c_char) -> c_int>;

@brief Returns whether any data has been persisted using the specified key.

@param handle The handle pointer from a successful call to Persistence_open(). @param key The string to be tested for existence in the store. @return Return 0 if the key was found in the store, otherwise return ::MQTTCLIENT_PERSISTENCE_ERROR.