[][src]Union paho_mqtt_sys::MQTTAsync_successData__bindgen_ty_1

#[repr(C)]pub union MQTTAsync_successData__bindgen_ty_1 {
    pub qos: c_int,
    pub qosList: *mut c_int,
    pub pub_: MQTTAsync_successData__bindgen_ty_1__bindgen_ty_1,
    pub connect: MQTTAsync_successData__bindgen_ty_1__bindgen_ty_2,
    // some fields omitted
}

A union of the different values that can be returned for subscribe, unsubscribe and publish.

Fields

qos: c_int

For subscribe, the granted QoS of the subscription returned by the server. Also for subscribeMany, if only 1 subscription was requested.

qosList: *mut c_int

For subscribeMany, if more than one subscription was requested, the list of granted QoSs of the subscriptions returned by the server.

pub_: MQTTAsync_successData__bindgen_ty_1__bindgen_ty_1connect: MQTTAsync_successData__bindgen_ty_1__bindgen_ty_2

Trait Implementations

impl Clone for MQTTAsync_successData__bindgen_ty_1[src]

impl Copy for MQTTAsync_successData__bindgen_ty_1[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.