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
token: MQTTAsync_token
A token identifying the failed request.
code: c_int
A numeric code identifying the error.
message: *const c_char
Optional text explaining the error. Can be NULL.
Trait Implementations
impl Debug for MQTTAsync_failureData
[src]
impl Copy for MQTTAsync_failureData
[src]
impl Clone for MQTTAsync_failureData
[src]
fn clone(&self) -> Self
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more