chore(types): add comment for ver type

This commit is contained in:
JianBo He 2021-11-04 09:11:02 +08:00
parent 981f74d458
commit f36abc281a
1 changed files with 3 additions and 1 deletions

View File

@ -95,7 +95,9 @@
| ?MQTT_PROTO_V4
| ?MQTT_PROTO_V5
| non_neg_integer()
| binary()).
%% Some non-MQTT versions of protocol may be a binary type
| binary()
).
-type(qos() :: ?QOS_0 | ?QOS_1 | ?QOS_2).
-type(qos_name() :: qos0 | at_most_once |