async_mqtt 9.0.1
Loading...
Searching...
No Matches
Collaboration diagram for auth_reason_code:

Enumerations

enum class  async_mqtt::auth_reason_code : std::uint8_t { auth_reason_code::success = 0x00 , auth_reason_code::continue_authentication = 0x18 , auth_reason_code::re_authenticate = 0x19 }
 auth reason code It is reported via AUTH packet More...
 

Functions

error_code async_mqtt::make_error_code (auth_reason_code v)
 make error code
 
constexpr char const * async_mqtt::auth_reason_code_to_string (auth_reason_code v)
 stringize auth_reason_code
 
std::ostream & async_mqtt::operator<< (std::ostream &o, auth_reason_code v)
 output to the stream
 
sys::error_category const & async_mqtt::get_auth_reason_code_category ()
 get gategory of auth_reason_code
 

Detailed Description

Enumeration Type Documentation

◆ auth_reason_code

enum class async_mqtt::auth_reason_code : std::uint8_t
strong

auth reason code It is reported via AUTH packet

Requirements

Enumerator
success 

Success (not an error)

continue_authentication 

Continue authentication (not an error)

re_authenticate 

Re-authenticate (not an error)

Function Documentation

◆ auth_reason_code_to_string()

char const * async_mqtt::auth_reason_code_to_string ( auth_reason_code v)
constexpr

stringize auth_reason_code

Parameters
vtarget
Returns
auth_reason_code string

Requirements

◆ get_auth_reason_code_category()

sys::error_category const & async_mqtt::get_auth_reason_code_category ( )

get gategory of auth_reason_code

Returns
category

Requirements

◆ make_error_code()

error_code async_mqtt::make_error_code ( auth_reason_code v)

make error code

Parameters
vtarget
Returns
auth_reason_code string

Requirements

◆ operator<<()

std::ostream & async_mqtt::operator<< ( std::ostream & o,
auth_reason_code v )

output to the stream

Parameters
ooutput stream
vtarget
Returns
output stream

Requirements