7#if !defined(ASYNC_MQTT_PACKET_QOS_HPP)
8#define ASYNC_MQTT_PACKET_QOS_HPP
22enum class qos : std::uint8_t
34 case qos::at_most_once:
return "at_most_once";
35 case qos::at_least_once:
return "at_least_once";
36 case qos::exactly_once:
return "exactly_once";
37 default:
return "invalid_qos";
Definition packet_variant.hpp:49
qos
MQTT QoS.
Definition qos.hpp:23
@ exactly_once
Exactly once delivery.
@ at_most_once
At most once delivery.
@ at_least_once
At least once delivery.
constexpr char const * qos_to_str(qos v)
stringize qos
Definition qos.hpp:32