pub struct AuthRsp { /* private fields */ }Expand description
Response from connection request, if extended authorization is performed. Accesses data in AUTH packet.
Implementations§
source§impl AuthRsp
impl AuthRsp
sourcepub fn reason(&self) -> AuthReason
pub fn reason(&self) -> AuthReason
Accesses reason value.
sourcepub fn reason_string(&self) -> Option<&str>
pub fn reason_string(&self) -> Option<&str>
Accesses reason string.
sourcepub fn authentication_method(&self) -> Option<&str>
pub fn authentication_method(&self) -> Option<&str>
Accesses authentication method.
sourcepub fn authentication_data(&self) -> Option<&[u8]>
pub fn authentication_data(&self) -> Option<&[u8]>
Accesses authentication data.
sourcepub fn user_properties(&self) -> &UserProperties
pub fn user_properties(&self) -> &UserProperties
Accesses user properties.