pub struct PubrecRsp { /* private fields */ }Expand description
Response to the publish request, with QoS==2 representing the PUBREC packet.
Implementations§
source§impl PubrecRsp
impl PubrecRsp
sourcepub fn reason(&self) -> PubrecReason
pub fn reason(&self) -> PubrecReason
Accesses reason value.
sourcepub fn reason_string(&self) -> Option<&str>
pub fn reason_string(&self) -> Option<&str>
Accesses reason string property.
sourcepub fn user_properties(&self) -> &UserProperties
pub fn user_properties(&self) -> &UserProperties
Accesses user properties.