[][src]Struct ntex_mqtt::v5::codec::ConnectAck

pub struct ConnectAck {
    pub session_present: bool,
    pub reason_code: ConnectAckReason,
    pub session_expiry_interval_secs: Option<u32>,
    pub receive_max: Option<NonZeroU16>,
    pub max_qos: Option<QoS>,
    pub retain_available: Option<bool>,
    pub max_packet_size: Option<u32>,
    pub assigned_client_id: Option<ByteString>,
    pub topic_alias_max: u16,
    pub reason_string: Option<ByteString>,
    pub user_properties: UserProperties,
    pub wildcard_subscription_available: Option<bool>,
    pub subscription_identifiers_available: Option<bool>,
    pub shared_subscription_available: Option<bool>,
    pub server_keepalive_sec: Option<u16>,
    pub response_info: Option<ByteString>,
    pub server_reference: Option<ByteString>,
    pub auth_method: Option<ByteString>,
    pub auth_data: Option<Bytes>,
}

Connect acknowledgment packet

Fields

session_present: bool

enables a Client to establish whether the Client and Server have a consistent view about whether there is already stored Session state.

reason_code: ConnectAckReasonsession_expiry_interval_secs: Option<u32>receive_max: Option<NonZeroU16>max_qos: Option<QoS>retain_available: Option<bool>max_packet_size: Option<u32>assigned_client_id: Option<ByteString>topic_alias_max: u16reason_string: Option<ByteString>user_properties: UserPropertieswildcard_subscription_available: Option<bool>subscription_identifiers_available: Option<bool>shared_subscription_available: Option<bool>server_keepalive_sec: Option<u16>response_info: Option<ByteString>server_reference: Option<ByteString>auth_method: Option<ByteString>auth_data: Option<Bytes>

Trait Implementations

impl Clone for ConnectAck[src]

impl Debug for ConnectAck[src]

impl Default for ConnectAck[src]

impl From<ConnectAck> for Packet[src]

impl From<ConnectAck> for ClientError[src]

impl PartialEq<ConnectAck> for ConnectAck[src]

impl StructuralPartialEq for ConnectAck[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> Instrument for T[src]

impl<T> Instrument for T[src]

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,