Struct paho_mqtt3as_sys::MQTTAsync_failureData [] [src]

#[repr(C)]
pub struct MQTTAsync_failureData { pub token: MQTTAsync_token, pub code: c_int, pub message: *const c_char, }

The data returned on completion of an unsuccessful API call in the response callback onFailure.

Fields

A token identifying the failed request.

A numeric code identifying the error.

Optional text explaining the error. Can be NULL.

Trait Implementations

impl Debug for MQTTAsync_failureData
[src]

Formats the value using the given formatter.

impl Copy for MQTTAsync_failureData
[src]

impl Clone for MQTTAsync_failureData
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more