Struct paho_mqtt3as_sys::MQTTClient_persistence [] [src]

#[repr(C)]
pub struct MQTTClient_persistence { pub context: *mut c_void, pub popen: Persistence_open, pub pclose: Persistence_close, pub pput: Persistence_put, pub pget: Persistence_get, pub premove: Persistence_remove, pub pkeys: Persistence_keys, pub pclear: Persistence_clear, pub pcontainskey: Persistence_containskey, }

@brief A structure containing the function pointers to a persistence implementation and the context or state that will be shared across all the persistence functions.

Fields

A pointer to any data required to initialize the persistent store.

A function pointer to an implementation of Persistence_open().

A function pointer to an implementation of Persistence_close().

A function pointer to an implementation of Persistence_put().

A function pointer to an implementation of Persistence_get().

A function pointer to an implementation of Persistence_remove().

A function pointer to an implementation of Persistence_keys().

A function pointer to an implementation of Persistence_clear().

A function pointer to an implementation of Persistence_containskey().

Trait Implementations

impl Debug for MQTTClient_persistence
[src]

Formats the value using the given formatter.

impl Copy for MQTTClient_persistence
[src]

impl Clone for MQTTClient_persistence
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more