Struct paho_mqtt3as_sys::MQTTAsync_responseOptions [] [src]

#[repr(C)]
pub struct MQTTAsync_responseOptions { pub struct_id: [c_char; 4], pub struct_version: c_int, pub onSuccess: MQTTAsync_onSuccess, pub onFailure: MQTTAsync_onFailure, pub context: *mut c_void, pub token: MQTTAsync_token, }

Fields

The eyecatcher for this structure. Must be MQTR

The version number of this structure. Must be 0

A pointer to a callback function to be called if the API call successfully completes. Can be set to NULL, in which case no indication of successful completion will be received.

A pointer to a callback function to be called if the API call fails. Can be set to NULL, in which case no indication of unsuccessful completion will be received.

A pointer to any application-specific context. The the context pointer is passed to success or failure callback functions to provide access to the context information in the callback.

Trait Implementations

impl Debug for MQTTAsync_responseOptions
[src]

Formats the value using the given formatter.

impl Copy for MQTTAsync_responseOptions
[src]

impl Clone for MQTTAsync_responseOptions
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Default for MQTTAsync_responseOptions
[src]

Returns the "default value" for a type. Read more