Struct ntex_mqtt::v5::codec::ConnectAck [−][src]
pub struct ConnectAck {}Show fields
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>,
Expand description
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: ConnectAckReason
session_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: u16
reason_string: Option<ByteString>
user_properties: UserProperties
wildcard_subscription_available: Option<bool>
subscription_identifiers_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
Returns the “default value” for a type. Read more
Performs the conversion.
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ConnectAck
impl Send for ConnectAck
impl Sync for ConnectAck
impl Unpin for ConnectAck
impl UnwindSafe for ConnectAck
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self