[INFO] crate sage_mqtt 0.2.4 is already in cache [INFO] documenting sage_mqtt-0.2.4 against master#394e1b40d264aa6928811919c1124fa248e7d802 for pr-73566 [INFO] extracting crate sage_mqtt 0.2.4 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate sage_mqtt 0.2.4 on toolchain 394e1b40d264aa6928811919c1124fa248e7d802 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+394e1b40d264aa6928811919c1124fa248e7d802" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate sage_mqtt 0.2.4 [INFO] finished tweaking crates.io crate sage_mqtt 0.2.4 [INFO] tweaked toml for crates.io crate sage_mqtt 0.2.4 written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate crates.io crate sage_mqtt 0.2.4 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+394e1b40d264aa6928811919c1124fa248e7d802" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:819119df93c0f5eca3f29186f14981ef29945a311854d7222af07488600a2584" "/opt/rustwide/cargo-home/bin/cargo" "+394e1b40d264aa6928811919c1124fa248e7d802" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 50d92779465a9fc958d2b1a95307a6e884b649d341601905a0caf3092856a005 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "50d92779465a9fc958d2b1a95307a6e884b649d341601905a0caf3092856a005", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "50d92779465a9fc958d2b1a95307a6e884b649d341601905a0caf3092856a005", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "50d92779465a9fc958d2b1a95307a6e884b649d341601905a0caf3092856a005", kill_on_drop: false }` [INFO] [stdout] 50d92779465a9fc958d2b1a95307a6e884b649d341601905a0caf3092856a005 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:819119df93c0f5eca3f29186f14981ef29945a311854d7222af07488600a2584" "/opt/rustwide/cargo-home/bin/cargo" "+394e1b40d264aa6928811919c1124fa248e7d802" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c4c814b97ea8f68da77bd1c10dd6fda6cca0c23bf723faa8041d9ec8689fd7e6 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "c4c814b97ea8f68da77bd1c10dd6fda6cca0c23bf723faa8041d9ec8689fd7e6", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.31 [INFO] [stderr] Compiling pin-project-internal v0.4.21 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling proc-macro-nested v0.1.5 [INFO] [stderr] Checking futures-channel v0.3.5 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Checking smallvec v0.6.13 [INFO] [stderr] Checking unicode_reader v1.0.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Checking pin-project v0.4.21 [INFO] [stderr] Checking futures-util v0.3.5 [INFO] [stderr] Checking futures-executor v0.3.5 [INFO] [stderr] Checking futures v0.3.5 [INFO] [stderr] Documenting sage_mqtt v0.2.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / //! `sage_mqtt` is a an encoding/decoding library for MQTT 5.0 protocol. [INFO] [stdout] 2 | | //! The library consists in pivot types, such as `UTF8String` that can be [INFO] [stdout] 3 | | //! written to and read from a stream as well as converted to standard Rust [INFO] [stdout] 4 | | //! types. [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | #![warn(missing_doc_code_examples)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/authentication.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / /// By default, `Connect` packets provide optional `user_name` and `password` [INFO] [stdout] 6 | | /// fields which can be used to provide basic authentication. [INFO] [stdout] 7 | | /// Enhanced authentication can be provided by using an `Authentication` [INFO] [stdout] 8 | | /// structure which will initialize a challenge / response style authentication. [INFO] [stdout] ... | [INFO] [stdout] 15 | | /// See the section 4.12 (Enhanced Authentication) of the MQTT 5 specifications [INFO] [stdout] 16 | | /// for examples. [INFO] [stdout] | |_________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/authentication.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | / /// Specifies the authentication method, such as "SCRAM-SHA-1" or "GS2-KRB5". [INFO] [stdout] 20 | | /// The actual support for a given authentication method is up to the server. [INFO] [stdout] 21 | | /// If the server does not support the requested method, it will respond [INFO] [stdout] 22 | | /// with a `Connack` packet with reason code `NotAuthorized` or [INFO] [stdout] 23 | | /// `BadAuthenticationMethod` and close the connection. [INFO] [stdout] | |___________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/authentication.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | / /// Authentication may contains data. The content depends on the [INFO] [stdout] 27 | | /// authentication method. [INFO] [stdout] | |______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/auth.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / /// The `Auth` packet is used for enhanced authentication upon connection. [INFO] [stdout] 10 | | /// When a client connects to a server, it can initiates an authentication using [INFO] [stdout] 11 | | /// the `Authentication` structure. Then the client and server exchange `Auth` [INFO] [stdout] 12 | | /// packets until either the the client sends a `Disconnect` packet or the [INFO] [stdout] 13 | | /// server respond with a `Connack` packet. [INFO] [stdout] | |___________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/auth.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | / /// The packet reason code. Can be any of: [INFO] [stdout] 17 | | /// - Success: The authentication is successful [INFO] [stdout] 18 | | /// - ReAuthenticate (client only): Ask for a new authentication [INFO] [stdout] 19 | | /// - ContinueAuthentication: Continue the authentication with another step [INFO] [stdout] | |_______________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/auth.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | / /// The `Authentication` data which consists in an authentication method and [INFO] [stdout] 23 | | /// optionnaly data. [INFO] [stdout] | |________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/auth.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | /// Optional reason string sent by the server. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/auth.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | /// General purpose user properties. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/connack.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | / /// The `Connack` message is sent from the server to the client to acknowledge [INFO] [stdout] 16 | | /// the connection request. This can be the direct response to a `Connect` [INFO] [stdout] 17 | | /// message or the closing exchange of `Connack` packets. [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/connack.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | / /// If the `session_present` is true, the connection is accepted using a [INFO] [stdout] 21 | | /// previously and unexpired session. [INFO] [stdout] | |_________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/connack.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | / /// The reason code for the connect acknowledgement. [INFO] [stdout] 25 | | /// - `Success` [INFO] [stdout] 26 | | /// - `UnspecifiedError` [INFO] [stdout] 27 | | /// - `MalformedPacket` [INFO] [stdout] ... | [INFO] [stdout] 34 | | /// - `ServerUnavailable` [INFO] [stdout] 35 | | /// - `ServerBusy` [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/connack.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | / /// The session expiry interval the server will use. If absent the server [INFO] [stdout] 39 | | /// simply accepted the value sent by the server in the `Connect` packet. [INFO] [stdout] | |_____________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/connack.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | / /// The maximum number of `AtLeastOnce` and `ExactlyOnce` qualities of [INFO] [stdout] 43 | | /// service the server will concurrently treat for the client. [INFO] [stdout] | |__________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/connack.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | / /// The maximum quality of service the server is willing to accept. [INFO] [stdout] 47 | | /// This value cannot be `ExactlyOnce`. Any server receiving a message [INFO] [stdout] 48 | | /// with QoS higher than it's maximum is expected to close the connection. [INFO] [stdout] | |______________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/connack.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | / /// `true` if the server supports retaining messages. `false` otherwise. [INFO] [stdout] 52 | | /// Sending retain messages (including Last Will) to a server which does not [INFO] [stdout] 53 | | /// support this feature will resulting in a disconnection. [INFO] [stdout] | |_______________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/connack.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | / /// The maximum size in bytes the server is willing to accept. This value [INFO] [stdout] 57 | | /// cannot be `0`. If absent there is not maximum packet size. [INFO] [stdout] | |__________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/connack.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | / /// If the `Connect` packet did not have any client id, the server will [INFO] [stdout] 61 | | /// send one using `assigned_client_id`. [INFO] [stdout] | |____________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/connack.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | / /// The maximum value the server will accept as topic alias. If `0` the [INFO] [stdout] 65 | | /// server does not accept topic aliases. [INFO] [stdout] | |_____________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/connack.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | / /// A human readable reason string used to describe the connack. This field [INFO] [stdout] 69 | | /// is optional. [INFO] [stdout] | |____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/connack.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | /// General purpose user properties. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/connack.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | /// If `true`, the server accepts subscribing to topics using wildcards. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/connack.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | /// If `true`, the server accepts subscription identifiers. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/connack.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | /// If `true`, the server accepts shared subscriptions. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/connack.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | / /// The server can override the keep alive value requested by the client [INFO] [stdout] 85 | | /// upon `Connect`. [INFO] [stdout] | |_______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/connack.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | / /// If the client asked for response information, the server may send it [INFO] [stdout] 89 | | /// in `response_information`. [INFO] [stdout] 90 | | /// The response information can be used by the client as an hint to [INFO] [stdout] 91 | | /// generate reponse topic when making Request/Reponse messages. [INFO] [stdout] | |____________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/connack.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | / /// If the reason code is `ServerMoved` or `UserAnotherServer`, the [INFO] [stdout] 95 | | /// `reference` field is used to inform the client about why new server to [INFO] [stdout] 96 | | /// connect to instead. [INFO] [stdout] | |___________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/connack.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 99 | / /// Upon using enhanced connexion, ending the `Connack` exchange will result in [INFO] [stdout] 100 | | /// a `ConnAck` packet which may contain `Authentication` data. [INFO] [stdout] | |___________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/connect.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | / /// The `Connect` control packet is used to open a session. It is the first [INFO] [stdout] 17 | | /// Packet a client must send to a server once the connection is established. [INFO] [stdout] 18 | | /// A _Connect_ packet can only be sent once for each connection. [INFO] [stdout] 19 | | /// [INFO] [stdout] ... | [INFO] [stdout] 34 | | /// In that case the server will decide itself for an identifier and return [INFO] [stdout] 35 | | /// it into the _CONNACK_ packet. [INFO] [stdout] | |_________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/connect.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | / /// If set, the server will start a new session and drop any existing one [INFO] [stdout] 39 | | /// if any. [INFO] [stdout] | |_______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/connect.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | /// An optional user name to send to the server. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/connect.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | /// An option password to send to the server. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/connect.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | / /// Specifies the maximum amount of time the client and the server may not [INFO] [stdout] 49 | | /// communicate with each other. This value is expressed in seconds. [INFO] [stdout] 50 | | /// If the server does not receive any packet from the client in one and [INFO] [stdout] 51 | | /// a half times this interval, it will close the connection. Likewise, the [INFO] [stdout] 52 | | /// client will close the connection under the same condition. The default [INFO] [stdout] 53 | | /// keep alive value is `600` (10mn). [INFO] [stdout] 54 | | /// Not that the keep alive mechanism is deactivated if the value is `0`. [INFO] [stdout] | |_____________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/connect.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | / /// Once the connection is closed, the client and server still keep the [INFO] [stdout] 58 | | /// session active during a certain amount of time expressed in seconds. [INFO] [stdout] 59 | | /// - If the value is `0` (default) the session ends when the connection is closed. [INFO] [stdout] 60 | | /// - If the value is `0xFFFFFFFF` the session never expires. [INFO] [stdout] 61 | | /// The client can override the session expiry interval within the [INFO] [stdout] 62 | | /// DISCONNECT packet. [INFO] [stdout] | |__________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/connect.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | / /// This value sets the maximum number of _AtLeastOnce_ and _ExactlyOnce_ [INFO] [stdout] 66 | | /// packets that should be processed concurrently. [INFO] [stdout] 67 | | /// There is no such limit for QoS `AtMostOnce` packets. [INFO] [stdout] 68 | | /// The default value is `65_535` [INFO] [stdout] | |_____________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/connect.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | / /// Defines the maximum size per packet the client is willing to receive [INFO] [stdout] 72 | | /// from the server. It is a procotol error to send a packet which size [INFO] [stdout] 73 | | /// exceeds this value and the client is expected to disconnect from the [INFO] [stdout] 74 | | /// server with a `PacketTooLarge` error. [INFO] [stdout] 75 | | /// This value cannot be `0`. Sending or receiving a CONNECT packet with a [INFO] [stdout] 76 | | /// `maximum_packet_size` of value `0` is a procotol error. [INFO] [stdout] 77 | | /// `maximum_packet_size` is `None` (default), there is no size limit. [INFO] [stdout] | |__________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/connect.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | / /// Topic aliases are a way to reduce the size of packets by substituting [INFO] [stdout] 81 | | /// aliases (which are strings) to integer values. [INFO] [stdout] 82 | | /// The number of aliases allowed by the client from the server is defined [INFO] [stdout] 83 | | /// with the `topic_alias_maximum`. It can be `0`, meaning aliases are [INFO] [stdout] 84 | | /// entirely disallowed. [INFO] [stdout] | |____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/connect.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | / /// This flag can be set to ask the server to send back response information [INFO] [stdout] 88 | | /// that can be used as an hint by the client to determine a response topic [INFO] [stdout] 89 | | /// used in Request/Response type communication. [INFO] [stdout] 90 | | /// This is only an optional hint and the server is allowed not to send any [INFO] [stdout] 91 | | /// reponse information even if the value of the field is `true`. [INFO] [stdout] 92 | | /// By default, `request_response_information` is `false`. [INFO] [stdout] | |______________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/connect.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | / /// In any packet sent by the server that contains a `ReasonCode`, the [INFO] [stdout] 96 | | /// latter can be described using a reason string or user properties. These [INFO] [stdout] 97 | | /// are called "problem information". [INFO] [stdout] 98 | | /// If `request_problem_information` is `true` the server is allowed to [INFO] [stdout] 99 | | /// sent problem information in any packet with a `ReasonCode`. [INFO] [stdout] 100 | | /// If `false` (default), the server is only allowed to send problem [INFO] [stdout] 101 | | /// information on `Publish`, `Connack` and `Disconnect` packets. [INFO] [stdout] | |_____________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/connect.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | / /// General purpose properties [INFO] [stdout] 105 | | /// By default, a Connect packet has no properties. [INFO] [stdout] | |_______________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/connect.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | / /// Define an `Authentication` structure to provide enhanced authentication. [INFO] [stdout] 109 | | /// By default, `authentication` is `None`, which means no or basic [INFO] [stdout] 110 | | /// authentication using only `user_name` and `password`. [INFO] [stdout] | |_____________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/connect.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | / /// The client id is an identifier that uniquely represents the client [INFO] [stdout] 114 | | /// from the server point of view. The client id is used to ensure `AtLeastOnce` [INFO] [stdout] 115 | | /// and `ExactlyOnce` qualities of service. [INFO] [stdout] 116 | | /// A client id is mandatory within a session. Yet, the `Connect` packet [INFO] [stdout] 117 | | /// may omit if by setting `client_id` to `None` (default). In that case [INFO] [stdout] 118 | | /// the id is created by the server and returns to the client with the [INFO] [stdout] 119 | | /// `Connack` packet. [INFO] [stdout] | |__________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/connect.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 122 | / /// The client's Last Will to send in case of ungraceful disconnection. [INFO] [stdout] 123 | | /// This is optional and default is `None`. [INFO] [stdout] | |_______________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/disconnect.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / /// A `Disconnect` packet can be sent by the client or the server to gracefully [INFO] [stdout] 10 | | /// disconnect. [INFO] [stdout] | |_______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/disconnect.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | / /// The reason code code the `Disconnect` notice.can be any of: [INFO] [stdout] 14 | | /// - Client or Server [INFO] [stdout] 15 | | /// + `AdministrativeAction` [INFO] [stdout] 16 | | /// + `ImplementationSpecificError` [INFO] [stdout] ... | [INFO] [stdout] 44 | | /// - Client Only [INFO] [stdout] 45 | | /// + `DisconnectWithWillMessage` [INFO] [stdout] | |_______________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/disconnect.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | / /// `session_expiry_interval` can be used to override the session expiry [INFO] [stdout] 49 | | /// period formerly set upon connection. If not present, the session expiry [INFO] [stdout] 50 | | /// interval value set using `Connect` or `Connack` is still in use. [INFO] [stdout] | |________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/disconnect.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | /// An optional descriptin of the reason for deconnecting. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/disconnect.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | /// General purpose user properties. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/disconnect.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | / /// If the reason code is `ServerMoved` or `UserAnotherServer`, the [INFO] [stdout] 60 | | /// `reference` field is used to inform the client about why new server to [INFO] [stdout] 61 | | /// connect to instead. [INFO] [stdout] | |___________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/mod.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | /// A ping request message [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/mod.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | /// A ping response message [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/puback.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / /// A `PubAck` is the response for a `Publish` message with `AtLeastOnce` as [INFO] [stdout] 10 | | /// quality of service. [INFO] [stdout] | |_______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/puback.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | / /// The packet identifier is used to identify the message throughout the [INFO] [stdout] 14 | | /// communication. [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/puback.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | / /// The reason code for the acknowledgement. Can be any of: [INFO] [stdout] 18 | | /// - `Success` [INFO] [stdout] 19 | | /// - `NoMatchingSubscribers` [INFO] [stdout] 20 | | /// - `UnspecifiedError` [INFO] [stdout] ... | [INFO] [stdout] 25 | | /// - `QuotaExceeded` [INFO] [stdout] 26 | | /// - `PayloadFormatInvalid` [INFO] [stdout] | |________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/puback.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | /// If available, the reason string describing the acknowledgement. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/puback.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | /// General purpose user properties [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/pubcomp.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / /// The `PubComp` packet is sent during an `ExactlyOnce` quality of service [INFO] [stdout] 10 | | /// publish. [INFO] [stdout] | |____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/pubcomp.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | / /// The packet identifier is used to identify the message throughout the [INFO] [stdout] 14 | | /// communication. [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/pubcomp.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | / /// The reason code for the acknowledgement. Can be any of: [INFO] [stdout] 18 | | /// - `Success` [INFO] [stdout] 19 | | /// - `NoMatchingSubscribers` [INFO] [stdout] 20 | | /// - `UnspecifiedError` [INFO] [stdout] ... | [INFO] [stdout] 25 | | /// - `QuotaExceeded` [INFO] [stdout] 26 | | /// - `PayloadFormatInvalid` [INFO] [stdout] | |________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/pubcomp.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | /// If available, the reason string describing the acknowledgement. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/pubcomp.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | /// General purpose user properties [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/pubrec.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / /// The `PubRec` packet is sent during an `ExactlyOnce` quality of service [INFO] [stdout] 10 | | /// publish. [INFO] [stdout] | |____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/pubrec.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | / /// The packet identifier is used to identify the message throughout the [INFO] [stdout] 14 | | /// communication. [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/pubrec.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | / /// The reason code for the acknowledgement. Can be any of: [INFO] [stdout] 18 | | /// - `Success` [INFO] [stdout] 19 | | /// - `NoMatchingSubscribers` [INFO] [stdout] 20 | | /// - `UnspecifiedError` [INFO] [stdout] ... | [INFO] [stdout] 25 | | /// - `QuotaExceeded` [INFO] [stdout] 26 | | /// - `PayloadFormatInvalid` [INFO] [stdout] | |________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/pubrec.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | /// If available, the reason string describing the acknowledgement. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/pubrec.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | /// General purpose user properties [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/pubrel.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / /// The `PubRel` packet is sent during an `ExactlyOnce` quality of service [INFO] [stdout] 10 | | /// publish. [INFO] [stdout] | |____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/pubrel.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | / /// The packet identifier is used to identify the message throughout the [INFO] [stdout] 14 | | /// communication. [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/pubrel.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | / /// The reason code for the acknowledgement. Can be any of: [INFO] [stdout] 18 | | /// - `Success` [INFO] [stdout] 19 | | /// - `NoMatchingSubscribers` [INFO] [stdout] 20 | | /// - `UnspecifiedError` [INFO] [stdout] ... | [INFO] [stdout] 25 | | /// - `QuotaExceeded` [INFO] [stdout] 26 | | /// - `PayloadFormatInvalid` [INFO] [stdout] | |________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/pubrel.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | /// If available, the reason string describing the acknowledgement. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/pubrel.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | /// General purpose user properties [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/publish.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / /// The `Publish` packet is used to send an application message to a given [INFO] [stdout] 10 | | /// topic. [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/publish.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | / /// In case of `AtLeastOnce` and `ExactlyOnce` qualities of service, [INFO] [stdout] 14 | | /// `duplicate` is set to `true` when the message is a new attempt to send [INFO] [stdout] 15 | | /// an earlier one. [INFO] [stdout] | |_______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/publish.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | /// The quality of service of the message. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/publish.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | / /// If true, the server must retain it in order to publish it for delivery [INFO] [stdout] 22 | | /// upon future connections. [INFO] [stdout] | |________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/publish.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | /// The name of the topic to publish the message to. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/publish.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | / /// The packet identifier is used in `AtLeastOnce` and `ExactlyOnce` [INFO] [stdout] 29 | | /// qualities of service to keep track of the packet. [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/publish.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | / /// If true, the will message will be a valid UTF-8 encoded string. If not [INFO] [stdout] 33 | | /// the will message can be anything, even a unicorn. [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/publish.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | / /// Optional delay before the server must drop a message before it does [INFO] [stdout] 37 | | /// not deliver it to anyone. [INFO] [stdout] | |_________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/publish.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | /// The topic alias. It is used to replace the topic string. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/publish.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | / /// If the message is part of a Request/Response communication, the response [INFO] [stdout] 44 | | /// topic is use to assign the topic which must be used as response. The [INFO] [stdout] 45 | | /// presence of a response topic identifies the message as a requestion. [INFO] [stdout] | |____________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/publish.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | / /// If the message is part of a Request/Response communication, it can be [INFO] [stdout] 49 | | /// optionnaly accompagnied with correlation data which are exchanged [INFO] [stdout] 50 | | /// between the communication endpoints. [INFO] [stdout] | |____________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/publish.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | /// General purpose user properties. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/publish.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | / /// References the different subscriptions identifiers that are used for [INFO] [stdout] 57 | | /// the message delivery. [INFO] [stdout] | |_____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/publish.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | / /// Describes the type of content of the payload. Is generally a MIME [INFO] [stdout] 61 | | /// descriptor. [INFO] [stdout] | |___________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/publish.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | /// The content of the message [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/suback.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / /// The `SubAck` packet is sent by a server to confirm a `Subscribe` has been [INFO] [stdout] 10 | | /// received and processed. [INFO] [stdout] | |___________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/suback.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | / /// The packet identifier is used to identify the message throughout the [INFO] [stdout] 14 | | /// communication. [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/suback.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | /// User defined properties [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/suback.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | / /// The reason codes. The array contains one `ReasonCode` per subscription. [INFO] [stdout] 21 | | /// The indices in this array match the incides in the `Subscribe`'s [INFO] [stdout] 22 | | /// subscriptions array. [INFO] [stdout] | |____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/subscribe.rs:94:1 [INFO] [stdout] | [INFO] [stdout] 94 | / /// The subscribe packet is a request from the client to listen to one or more [INFO] [stdout] 95 | | /// topics. [INFO] [stdout] | |___________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/subscribe.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 98 | / /// The packet identifier is used to identify the message throughout the [INFO] [stdout] 99 | | /// communication. [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/subscribe.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | / /// Optional identifier used to represent the subscription in nextcoming [INFO] [stdout] 103 | | /// mmessages. [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/subscribe.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 106 | /// General purpose user properies [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/subscribe.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | / /// The list of topics to subscribe to with options. [INFO] [stdout] 110 | | /// Each topics can use wildcards. [INFO] [stdout] | |______________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/subscribe.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | /// Options used to describe a specific subscription. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/subscribe.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | / /// The maximum quality of service the client is expected to receive [INFO] [stdout] 44 | | /// messages. [INFO] [stdout] | |_________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/subscribe.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | / /// If the value is `true`, messages must not be forwarded to a connection [INFO] [stdout] 48 | | /// with a ClientID equal to the client id of the publishing connection. [INFO] [stdout] | |____________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/subscribe.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | / /// If `true` messages forwarded using this subscription will keep their [INFO] [stdout] 52 | | /// retain flag unchanged. Otherwise they won't be retain messages anymore. [INFO] [stdout] | |_______________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/subscribe.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | /// How retain messages are handled upon subscription. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/unsuback.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | /// An `UnSubAck` is sent by the server to acknowledge an unsubscribe request. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/unsuback.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | / /// The packet identifier is used to identify the message throughout the [INFO] [stdout] 13 | | /// communication [INFO] [stdout] | |_____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/unsuback.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | /// An optional description of the acknowledgement. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/unsuback.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | /// General purpose user-defined properties [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/unsuback.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | / /// A list of reason codes ackowledging the unsubscribtion. [INFO] [stdout] 23 | | /// Each `ReasonCode` at a given index correspond to a unsubscribe request [INFO] [stdout] 24 | | /// from the `Unsubscribe` packet at the same index. [INFO] [stdout] | |________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/unsubscribe.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | /// An `Unsubscribe` packet is sent from the client to unsubsribe to a topic. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/unsubscribe.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | / /// The packet identifier is used to identify the message throughout the [INFO] [stdout] 9 | | /// communication. [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/unsubscribe.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | /// General purpose user-properties [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/unsubscribe.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | /// The list of topics to unsubsribe to. They can contains wildcards. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/will.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / /// Due to the unstable nature of a connexion, the client can loose its [INFO] [stdout] 7 | | /// connection to the server. This ungraceful disconnect can be notified [INFO] [stdout] 8 | | /// to every other clients by specifying a Last Will message that is given [INFO] [stdout] 9 | | /// upon connection. [INFO] [stdout] 10 | | /// When a client ungracefully disconnect from a server (when the keep alive [INFO] [stdout] 11 | | /// is reached), the server will publish the Last Will message to anyone [INFO] [stdout] 12 | | /// subscribed to its topic. [INFO] [stdout] | |____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/will.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | /// The quality of service for the will message. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/will.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | / /// If the message is to be retained. A retain message is kept [INFO] [stdout] 19 | | /// in memory by a broker (one per topic) to sent to future subscriptions. [INFO] [stdout] | |______________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/will.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | / /// Delay in seconds the broket will wait after a deconnction before [INFO] [stdout] 23 | | /// publishing the will message. The will message can also be published [INFO] [stdout] 24 | | /// at session expires if it happens first. [INFO] [stdout] | |_______________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/will.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | / /// If true, the will message will be a valid UTF-8 encoded string. If not [INFO] [stdout] 28 | | /// the will message can be anything, even a unicorn. [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/will.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | /// Corresponds to the expiry interval of the `Publish` message sent. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/will.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | / /// Describes the type of content of the payload. Is generally a MIME [INFO] [stdout] 35 | | /// descriptor. [INFO] [stdout] | |___________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/will.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | /// Optional topic used as response if the Will message is a request. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/will.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | /// Optional correlation optionaly used if the Will message is a request. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/will.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | /// General purpose properties [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/will.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | /// The Last Will Topic. Cannot be empty. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/will.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | /// The last will payload. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/subscribe.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / /// This option specifies whether retained messages are sent when the [INFO] [stdout] 15 | | /// subscription is established; [INFO] [stdout] | |________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/subscribe.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | /// Send retained messages at the time of the subscribe [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/subscribe.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | /// Send retained messages at the time of the first subscribe [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/subscribe.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | /// Don't send retained messages [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/error.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | /// The error type for Sage MQTT operations [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/error.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | /// Standard Rust IO Error [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/error.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | /// Error described using a MQTT Reason code [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/packet.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | / /// The standard type to manipulate a AsyncRead/AsyncWrite-able MQTT packet. Each packet [INFO] [stdout] 33 | | /// is an enum value with its own type. [INFO] [stdout] | |_______________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/packet.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | /// CONNECT MQTT packet. Opens a connection request. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/packet.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | /// CONNACK MQTT packet. Aknowledge a connectio request. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/packet.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | /// PUBLISH MQTT packet. Delivery a message to or from a server. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/packet.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | /// PUBACK MQTT packet. Ackowledge a QoS 1 or QoS 2 message. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/packet.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | /// PUBREC MQTT packet. Ackowledge a QoS 2 message. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/packet.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | /// PUBREL MQTT packet. Ackowledge a QoS 2 message. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/packet.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | /// PUBCOMP MQTT packet. Ackowledge a QoS 2 message. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/packet.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | /// SUBSCRIBE MQTT packet. Subscribe a client to topics. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/packet.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | /// SUBACK MQTT packet. Acknowledge a client SUBSCRIBE packet. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/packet.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | /// UNSUBSCRIBE MQTT packet. Unsubscribe a client from topics. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/packet.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | /// UNSUBACK MQTT packet. Acknowledge a client UNSUBSCRIBE packet. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/packet.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | /// PINGREQ MQTT packet. Send a ping request. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/packet.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | /// PINGRESP MQTT packet. Respond to a ping request. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/packet.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | /// DISCONNECT MQTT packet. Disconnect a connextion and optionally a session. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/packet.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | /// AUTH MQTT packet. Performs authentication exchanges between clients and server. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/quality_of_service.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | /// Description the quality of service used in message publishing. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/quality_of_service.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | / /// The message is delivered according to the capabilities of the [INFO] [stdout] 8 | | /// underlying network. No response is sent by the receiver and no retry is [INFO] [stdout] 9 | | /// performed by the sender. [INFO] [stdout] 10 | | /// The message arrives at the receiver either once or not at all. [INFO] [stdout] | |______________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/quality_of_service.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | / /// This Quality of Service level ensures that the message arrives at the [INFO] [stdout] 14 | | /// receiver at least once. A QoS 1 PUBLISH packet has a Packet Identifier [INFO] [stdout] 15 | | /// and is acknowledged by a `Puback` packet. [INFO] [stdout] | |_________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/quality_of_service.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | / /// This is the highest Quality of Service level, for use when neither loss [INFO] [stdout] 19 | | /// nor duplication of messages are acceptable. [INFO] [stdout] 20 | | /// There is an increased overhead associated with QoS 2. [INFO] [stdout] 21 | | /// A QoS 2 message has a Packet Identifier. The receiver of a QoS 2 [INFO] [stdout] 22 | | /// `Publish` packet acknowledges receipt with a two-step [INFO] [stdout] 23 | | /// acknowledgement process. [INFO] [stdout] | |________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/reason_code.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / /// A `ReasonCode` is an identifier describing a response in any ackowledgement [INFO] [stdout] 6 | | /// packet (such as `Connack` or `SubAck`) [INFO] [stdout] | |__________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/reason_code.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | / /// Generic success reason code indicating an operation performed well. [INFO] [stdout] 10 | | /// According to the emmiting packet, the following meanings are applied: [INFO] [stdout] 11 | | /// - `Disconnect`: Normal Disconnection [INFO] [stdout] 12 | | /// - `SubAck`: Granted QoS 0 [INFO] [stdout] | |_________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/reason_code.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | /// The subscription is accepted and the maximum QoS sent will be QoS 1. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/reason_code.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | /// The subscription is accepted and any received QoS will be sent.. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/reason_code.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | /// The client disconnects but want the last will to be sent anyways. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/reason_code.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | /// The message is accepted but there are no subscribers. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/reason_code.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | /// No matching topic filter is being used by the client [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/reason_code.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | /// Continue de authentication with another step [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/reason_code.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | /// Initiate re-Authentication [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/reason_code.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | /// The server doesn't want or cannot describe the error [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/reason_code.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | /// The control packet cannot be parsed or is ill-formed [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/reason_code.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | /// The control packet is well formed but invalid according to specifications. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/reason_code.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | /// The operation is valid but not accepted by, the server [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/reason_code.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | /// The requested MQTT version is not supported [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/reason_code.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | /// The client identifier is not valid [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/reason_code.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | /// The server does not accept the given user name or password [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/reason_code.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | /// The operation is not permitted [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/reason_code.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | /// The server is not available [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/reason_code.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | /// The server is busy [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/reason_code.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | /// The client is banned [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/reason_code.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | /// The server is currently shutting down [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/reason_code.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | /// The authentication method is not supported by the server [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/reason_code.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | / /// The connection is closed because not packet has been received for [INFO] [stdout] 76 | | /// 1.5 times the keep alive period. [INFO] [stdout] | |________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/reason_code.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | / /// Another connection using the same client id has connected, causing this [INFO] [stdout] 80 | | /// connection to be closed. [INFO] [stdout] | |________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/reason_code.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | /// The topic filter is correctly formed but not accepted by the server. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/reason_code.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | /// The topic name is correctly formed but not accepted by the server [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/reason_code.rs:89:5 [INFO] [stdout] | [INFO] [stdout] 89 | / /// The packet identifier is already in use. This might indicate a mismatch [INFO] [stdout] 90 | | /// in the session state between the client and the server. [INFO] [stdout] | |_______________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/reason_code.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | / /// The Packet Identifier is not known. This is not an error during [INFO] [stdout] 94 | | /// recovery, but at other times indicates a mismatch between the Session [INFO] [stdout] 95 | | /// State on the Client and Server. [INFO] [stdout] | |_______________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/reason_code.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 98 | /// The Client or Server has received more than receive maximum. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/reason_code.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | /// The topic alias is invalid [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/reason_code.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | / /// The packet size is greater than the maximum packet size fo rthis client [INFO] [stdout] 105 | | /// or server. [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/reason_code.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | /// The received data is too high [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/reason_code.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 111 | /// An implementation or administrative limite has been exceeded [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/reason_code.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | /// The connection is closed due to an administrative action [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/reason_code.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 117 | / /// The payload format does not match the one indicated in the payload [INFO] [stdout] 118 | | /// format indicator. [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/reason_code.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 121 | /// The server does not support retain messages [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/reason_code.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 124 | / /// The client specified a QoS greater than the maximum indicated in the [INFO] [stdout] 125 | | /// `Connack` packet. [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/reason_code.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 128 | /// The client should temporarily change its server. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/reason_code.rs:131:5 [INFO] [stdout] | [INFO] [stdout] 131 | /// The client should permanently change its server. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/reason_code.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 134 | /// The server does not support shared subscriptions [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/reason_code.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 137 | /// The connection is closed because the connection rate is too high [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/reason_code.rs:140:5 [INFO] [stdout] | [INFO] [stdout] 140 | /// The maximum connect time authorized for this connection has exceeded. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/reason_code.rs:143:5 [INFO] [stdout] | [INFO] [stdout] 143 | /// The server does no support subscription identifiers. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/reason_code.rs:146:5 [INFO] [stdout] | [INFO] [stdout] 146 | /// The server does not support wildcard subcriptions. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/authentication.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / use crate::{Property, Result as SageResult}; [INFO] [stdout] 2 | | use futures::io::AsyncWrite; [INFO] [stdout] 3 | | use std::marker::Unpin; [INFO] [stdout] 4 | | [INFO] [stdout] ... | [INFO] [stdout] 65 | | } [INFO] [stdout] 66 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/authentication.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | / impl Authentication { [INFO] [stdout] 32 | | ///Write authentication data into `writer`, returning the written size [INFO] [stdout] 33 | | /// in case of success. [INFO] [stdout] 34 | | pub async fn write(self, writer: &mut W) -> SageResult { [INFO] [stdout] ... | [INFO] [stdout] 44 | | } [INFO] [stdout] 45 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/authentication.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | / ///Write authentication data into `writer`, returning the written size [INFO] [stdout] 33 | | /// in case of success. [INFO] [stdout] | |___________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/lib.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | /// encode/decode MQTT fundamental types [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/codec/binary_data.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | / /// Read from the given reader for binary dataset according to Binary Data type [INFO] [stdout] 25 | | /// MQTT5 specifications which consists in an two bytes integer representing [INFO] [stdout] 26 | | /// the data size in bytes followed with the data as bytes. [INFO] [stdout] 27 | | /// In case of success, returns a `Vec` [INFO] [stdout] | |___________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/codec/binary_data.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / /// Write the given `data` into `writer` according to Binary Data type MQTT5 specifications [INFO] [stdout] 8 | | /// which consists in a two bytes integer representing the data size in bytes followed with [INFO] [stdout] 9 | | /// the data as bytes. [INFO] [stdout] 10 | | /// In case of success returns the written size in bytes. [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/codec/byte.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | / /// Read the given `reader` for a boolean value. [INFO] [stdout] 29 | | /// MQTT5 specifications do not define an actual boolean type but expresses it [INFO] [stdout] 30 | | /// with a byte being `0x00` for `false` or `0x01` for `false`. Other values are [INFO] [stdout] 31 | | /// considered incorrect. [INFO] [stdout] 32 | | /// In case of success, returns an `bool` [INFO] [stdout] | |_________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/codec/byte.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | / /// Read the given `reader` for a byte value. [INFO] [stdout] 21 | | /// In case of success, returns an `u8` [INFO] [stdout] | |_______________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/codec/byte.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | / /// Write the given bool into `writer` in a single byte value. [INFO] [stdout] 12 | | /// MQTT5 specifications do not define an actual boolean type but expresses it [INFO] [stdout] 13 | | /// with a byte being `0x00` for `false` or `0x01` for `false`. Other values are [INFO] [stdout] 14 | | /// considered incorrect. [INFO] [stdout] 15 | | /// In case of success, returns `1` [INFO] [stdout] | |___________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/codec/byte.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / /// Write the given byte into `writer`. [INFO] [stdout] 6 | | /// In case of success, returns `1` [INFO] [stdout] | |___________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/codec/four_byte_integer.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | /// Read the given `reader` for an `u32`, returning it in case of success. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/codec/four_byte_integer.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / /// Write the given `u32` according to MQTT5 Four Byte Integer specifications. [INFO] [stdout] 6 | | /// In case of success, returns `4`. [INFO] [stdout] | |____________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/codec/packet_type.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | / /// Read the given `reader` for a `PacketType`. [INFO] [stdout] 41 | | /// In case of success, returns a `PacketType` instance. [INFO] [stdout] | |________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/codec/packet_type.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / /// Write the given `PacketType` in one byte according to [INFO] [stdout] 6 | | /// MQTT5 specifications. [INFO] [stdout] 7 | | /// In case of success, returns `1`. [INFO] [stdout] | |____________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/codec/qos.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | ///Read the given reader for a `QoS`, returning it in case of success. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/codec/qos.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / /// Write the given `QoS` instance in one byte. [INFO] [stdout] 6 | | /// In case of success, returns `1`. [INFO] [stdout] | |____________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/codec/reason_code.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | ///Write the given `ReasonCode`in one byte, returning `1` in case of success. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/codec/two_byte_integer.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | /// Read the given `reader` for an `u16`, returning it in case of success. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/codec/two_byte_integer.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / /// Write the given `u16` according to MQTT5 Two Byte Integer specifications. [INFO] [stdout] 6 | | /// In case of success, returns `2`. [INFO] [stdout] | |____________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/codec/utf8_string.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | / /// Read from the given reader for binary dataset according to Binary Data type [INFO] [stdout] 25 | | /// MQTT5 specifications which consists in an two bytes integer representing [INFO] [stdout] 26 | | /// the data size in bytes followed with the data as bytes. [INFO] [stdout] 27 | | /// In case of success, returns a `Vec` [INFO] [stdout] | |___________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/codec/utf8_string.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / /// Write the given string into `writer` according to UTF8 String type MQTT5 specifications [INFO] [stdout] 8 | | /// which consists in a two bytes integer representing the string in bytes followed with [INFO] [stdout] 9 | | /// the string as bytes. [INFO] [stdout] 10 | | /// In case of success returns the written size in bytes. [INFO] [stdout] | |_________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/codec/variable_byte_integer.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | / ///Read the given stream for a `u32` encoded as Variable Byte Integer. [INFO] [stdout] 29 | | /// Returns the read value in case of success. [INFO] [stdout] | |______________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/codec/variable_byte_integer.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / ///Write the given `u32` into `writer` according to MQTT5 Variable Byte Integer [INFO] [stdout] 6 | | /// specifications, returning the number of bytes written (`1`, `2`, `3` or `4`) [INFO] [stdout] 7 | | /// in case of success. [INFO] [stdout] | |_______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/codec/binary_data.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / use crate::{codec, ReasonCode::MalformedPacket, Result as SageResult}; [INFO] [stdout] 2 | | use futures::io::{ [INFO] [stdout] 3 | | AsyncRead, AsyncReadExt, AsyncWrite, AsyncWriteExt, Error as IOError, ErrorKind, [INFO] [stdout] 4 | | }; [INFO] [stdout] ... | [INFO] [stdout] 94 | | } [INFO] [stdout] 95 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/codec/byte.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / use crate::{ReasonCode::ProtocolError, Result as SageResult}; [INFO] [stdout] 2 | | use futures::io::{AsyncRead, AsyncReadExt, AsyncWrite, AsyncWriteExt}; [INFO] [stdout] 3 | | use std::marker::Unpin; [INFO] [stdout] 4 | | [INFO] [stdout] ... | [INFO] [stdout] 104 | | } [INFO] [stdout] 105 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/codec/four_byte_integer.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / use crate::Result as SageResult; [INFO] [stdout] 2 | | use futures::io::{AsyncRead, AsyncReadExt, AsyncWrite, AsyncWriteExt}; [INFO] [stdout] 3 | | use std::marker::Unpin; [INFO] [stdout] 4 | | [INFO] [stdout] ... | [INFO] [stdout] 64 | | } [INFO] [stdout] 65 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/codec/packet_type.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / use crate::{codec, PacketType, ReasonCode::MalformedPacket, Result as SageResult}; [INFO] [stdout] 2 | | use futures::io::{AsyncRead, AsyncWrite}; [INFO] [stdout] 3 | | use std::{convert::TryInto, marker::Unpin}; [INFO] [stdout] 4 | | [INFO] [stdout] ... | [INFO] [stdout] 112 | | } [INFO] [stdout] 113 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/codec/qos.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / use crate::{codec, QoS, ReasonCode::ProtocolError, Result as SageResult}; [INFO] [stdout] 2 | | use futures::io::{AsyncRead, AsyncWrite}; [INFO] [stdout] 3 | | use std::marker::Unpin; [INFO] [stdout] 4 | | [INFO] [stdout] ... | [INFO] [stdout] 52 | | } [INFO] [stdout] 53 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/codec/reason_code.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / use crate::{codec, ReasonCode, Result as SageResult}; [INFO] [stdout] 2 | | use futures::io::AsyncWrite; [INFO] [stdout] 3 | | use std::marker::Unpin; [INFO] [stdout] 4 | | [INFO] [stdout] ... | [INFO] [stdout] 120 | | } [INFO] [stdout] 121 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/codec/two_byte_integer.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / use crate::Result as SageResult; [INFO] [stdout] 2 | | use futures::io::{AsyncRead, AsyncReadExt, AsyncWrite, AsyncWriteExt}; [INFO] [stdout] 3 | | use std::marker::Unpin; [INFO] [stdout] 4 | | [INFO] [stdout] ... | [INFO] [stdout] 58 | | } [INFO] [stdout] 59 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/codec/utf8_string.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / use crate::{codec, ReasonCode::MalformedPacket, Result as SageResult}; [INFO] [stdout] 2 | | use futures::io::{AsyncRead, AsyncReadExt, AsyncWrite, AsyncWriteExt}; [INFO] [stdout] 3 | | use std::io::Cursor; [INFO] [stdout] 4 | | use std::marker::Unpin; [INFO] [stdout] ... | [INFO] [stdout] 106 | | } [INFO] [stdout] 107 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/codec/variable_byte_integer.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / use crate::{ReasonCode::MalformedPacket, Result as SageResult}; [INFO] [stdout] 2 | | use futures::io::{AsyncRead, AsyncReadExt, AsyncWrite, AsyncWriteExt}; [INFO] [stdout] 3 | | use std::marker::Unpin; [INFO] [stdout] 4 | | [INFO] [stdout] ... | [INFO] [stdout] 269 | | } [INFO] [stdout] 270 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/mod.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / /// This module lists all the encode/decode functions used to read the [INFO] [stdout] 2 | | /// fundamental types specified within MQTT5: [INFO] [stdout] 3 | | /// - byte and boolean values [INFO] [stdout] 4 | | /// - UTF8 String [INFO] [stdout] ... | [INFO] [stdout] 43 | | /// A ping response message [INFO] [stdout] 44 | | pub struct PingResp; [INFO] [stdout] | |____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/mod.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | pub use auth::Auth; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/mod.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | pub use connack::ConnAck; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/mod.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | pub use connect::Connect; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/mod.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | pub use disconnect::Disconnect; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/mod.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | pub use puback::PubAck; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/mod.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | pub use pubcomp::PubComp; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/mod.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | pub use publish::Publish; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/mod.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | pub use pubrec::PubRec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/mod.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | pub use pubrel::PubRel; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/mod.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | pub use suback::SubAck; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/mod.rs:36:21 [INFO] [stdout] | [INFO] [stdout] 36 | pub use subscribe::{RetainHandling, Subscribe, SubscriptionOptions}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/mod.rs:36:37 [INFO] [stdout] | [INFO] [stdout] 36 | pub use subscribe::{RetainHandling, Subscribe, SubscriptionOptions}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/mod.rs:36:48 [INFO] [stdout] | [INFO] [stdout] 36 | pub use subscribe::{RetainHandling, Subscribe, SubscriptionOptions}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/mod.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | pub use unsuback::UnSubAck; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/mod.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | pub use unsubscribe::UnSubscribe; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/mod.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / /// This module lists all the encode/decode functions used to read the [INFO] [stdout] 2 | | /// fundamental types specified within MQTT5: [INFO] [stdout] 3 | | /// - byte and boolean values [INFO] [stdout] 4 | | /// - UTF8 String [INFO] [stdout] ... | [INFO] [stdout] 7 | | /// - Quality of service [INFO] [stdout] 8 | | /// - Reason Codes [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/auth.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | / impl Auth { [INFO] [stdout] 45 | | pub(crate) async fn write(self, writer: &mut W) -> SageResult { [INFO] [stdout] 46 | | let mut n_bytes = codec::write_reason_code(self.reason_code, writer).await?; [INFO] [stdout] 47 | | let mut properties = Vec::new(); [INFO] [stdout] ... | [INFO] [stdout] 97 | | } [INFO] [stdout] 98 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/auth.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | / pub(crate) async fn write(self, writer: &mut W) -> SageResult { [INFO] [stdout] 46 | | let mut n_bytes = codec::write_reason_code(self.reason_code, writer).await?; [INFO] [stdout] 47 | | let mut properties = Vec::new(); [INFO] [stdout] 48 | | [INFO] [stdout] ... | [INFO] [stdout] 60 | | Ok(n_bytes) [INFO] [stdout] 61 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/auth.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | / pub(crate) async fn read(reader: &mut R) -> SageResult { [INFO] [stdout] 64 | | let reason_code = ReasonCode::try_from(codec::read_byte(reader).await?)?; [INFO] [stdout] 65 | | [INFO] [stdout] 66 | | let mut user_properties = Vec::new(); [INFO] [stdout] ... | [INFO] [stdout] 96 | | } [INFO] [stdout] 97 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/connack.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / use crate::{ [INFO] [stdout] 2 | | codec, [INFO] [stdout] 3 | | defaults::{ [INFO] [stdout] 4 | | DEFAULT_MAXIMUM_QOS, DEFAULT_RECEIVE_MAXIMUM, DEFAULT_RETAIN_AVAILABLE, [INFO] [stdout] ... | [INFO] [stdout] 342 | | } [INFO] [stdout] 343 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/connack.rs:129:1 [INFO] [stdout] | [INFO] [stdout] 129 | / impl ConnAck { [INFO] [stdout] 130 | | pub(crate) async fn write(self, writer: &mut W) -> SageResult { [INFO] [stdout] 131 | | let mut n_bytes = codec::write_bool(self.session_present, writer).await?; [INFO] [stdout] 132 | | n_bytes += codec::write_reason_code(self.reason_code, writer).await?; [INFO] [stdout] ... | [INFO] [stdout] 282 | | } [INFO] [stdout] 283 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/connack.rs:130:5 [INFO] [stdout] | [INFO] [stdout] 130 | / pub(crate) async fn write(self, writer: &mut W) -> SageResult { [INFO] [stdout] 131 | | let mut n_bytes = codec::write_bool(self.session_present, writer).await?; [INFO] [stdout] 132 | | n_bytes += codec::write_reason_code(self.reason_code, writer).await?; [INFO] [stdout] 133 | | [INFO] [stdout] ... | [INFO] [stdout] 198 | | Ok(n_bytes) [INFO] [stdout] 199 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/connack.rs:201:5 [INFO] [stdout] | [INFO] [stdout] 201 | / pub(crate) async fn read(reader: &mut R) -> SageResult { [INFO] [stdout] 202 | | let session_present = codec::read_bool(reader).await?; [INFO] [stdout] 203 | | [INFO] [stdout] 204 | | let reason_code = codec::read_byte(reader).await?.try_into()?; [INFO] [stdout] ... | [INFO] [stdout] 281 | | }) [INFO] [stdout] 282 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/connect.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / use crate::{ [INFO] [stdout] 2 | | codec, [INFO] [stdout] 3 | | defaults::{ [INFO] [stdout] 4 | | DEFAULT_RECEIVE_MAXIMUM, DEFAULT_REQUEST_PROBLEM_INFORMATION, [INFO] [stdout] ... | [INFO] [stdout] 483 | | } [INFO] [stdout] 484 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/connect.rs:148:1 [INFO] [stdout] | [INFO] [stdout] 148 | / struct ConnectFlags { [INFO] [stdout] 149 | | pub clean_start: bool, [INFO] [stdout] 150 | | pub will: bool, [INFO] [stdout] 151 | | pub will_qos: QoS, [INFO] [stdout] ... | [INFO] [stdout] 154 | | pub password: bool, [INFO] [stdout] 155 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/connect.rs:149:5 [INFO] [stdout] | [INFO] [stdout] 149 | pub clean_start: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/connect.rs:150:5 [INFO] [stdout] | [INFO] [stdout] 150 | pub will: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/connect.rs:151:5 [INFO] [stdout] | [INFO] [stdout] 151 | pub will_qos: QoS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/connect.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 152 | pub will_retain: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/connect.rs:153:5 [INFO] [stdout] | [INFO] [stdout] 153 | pub user_name: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/connect.rs:154:5 [INFO] [stdout] | [INFO] [stdout] 154 | pub password: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/connect.rs:157:1 [INFO] [stdout] | [INFO] [stdout] 157 | / impl Connect { [INFO] [stdout] 158 | | pub(crate) async fn write(self, writer: &mut W) -> SageResult { [INFO] [stdout] 159 | | // Variable Header (into content) [INFO] [stdout] 160 | | let mut n_bytes = codec::write_utf8_string("MQTT", writer).await?; [INFO] [stdout] ... | [INFO] [stdout] 403 | | } [INFO] [stdout] 404 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/connect.rs:158:5 [INFO] [stdout] | [INFO] [stdout] 158 | / pub(crate) async fn write(self, writer: &mut W) -> SageResult { [INFO] [stdout] 159 | | // Variable Header (into content) [INFO] [stdout] 160 | | let mut n_bytes = codec::write_utf8_string("MQTT", writer).await?; [INFO] [stdout] 161 | | n_bytes += codec::write_byte(0x05, writer).await?; [INFO] [stdout] ... | [INFO] [stdout] 275 | | Ok(n_bytes) [INFO] [stdout] 276 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/connect.rs:278:5 [INFO] [stdout] | [INFO] [stdout] 278 | / pub(crate) async fn read(reader: &mut R) -> SageResult { [INFO] [stdout] 279 | | let protocol_name = codec::read_utf8_string(reader).await?; [INFO] [stdout] 280 | | if protocol_name != "MQTT" { [INFO] [stdout] 281 | | return Err(MalformedPacket.into()); [INFO] [stdout] ... | [INFO] [stdout] 402 | | }) [INFO] [stdout] 403 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/connect.rs:406:1 [INFO] [stdout] | [INFO] [stdout] 406 | / impl ConnectFlags { [INFO] [stdout] 407 | | pub(crate) async fn write(self, writer: &mut W) -> SageResult { [INFO] [stdout] 408 | | let bits = ((self.user_name as u8) << 7) [INFO] [stdout] 409 | | | ((self.password as u8) << 6) [INFO] [stdout] ... | [INFO] [stdout] 432 | | } [INFO] [stdout] 433 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/connect.rs:407:5 [INFO] [stdout] | [INFO] [stdout] 407 | / pub(crate) async fn write(self, writer: &mut W) -> SageResult { [INFO] [stdout] 408 | | let bits = ((self.user_name as u8) << 7) [INFO] [stdout] 409 | | | ((self.password as u8) << 6) [INFO] [stdout] 410 | | | ((self.will_retain as u8) << 5) [INFO] [stdout] ... | [INFO] [stdout] 414 | | codec::write_byte(bits, writer).await [INFO] [stdout] 415 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/connect.rs:417:5 [INFO] [stdout] | [INFO] [stdout] 417 | / pub(crate) async fn read(reader: &mut R) -> SageResult { [INFO] [stdout] 418 | | let bits = codec::read_byte(reader).await?; [INFO] [stdout] 419 | | [INFO] [stdout] 420 | | if bits & 0x01 != 0 { [INFO] [stdout] ... | [INFO] [stdout] 431 | | } [INFO] [stdout] 432 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/disconnect.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / use crate::{ [INFO] [stdout] 2 | | codec, PropertiesDecoder, Property, [INFO] [stdout] 3 | | ReasonCode::{self, ProtocolError}, [INFO] [stdout] 4 | | Result as SageResult, [INFO] [stdout] ... | [INFO] [stdout] 175 | | } [INFO] [stdout] 176 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/disconnect.rs:77:1 [INFO] [stdout] | [INFO] [stdout] 77 | / impl Disconnect { [INFO] [stdout] 78 | | pub(crate) async fn write(self, writer: &mut W) -> SageResult { [INFO] [stdout] 79 | | let mut n_bytes = codec::write_reason_code(self.reason_code, writer).await?; [INFO] [stdout] 80 | | [INFO] [stdout] ... | [INFO] [stdout] 130 | | } [INFO] [stdout] 131 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/disconnect.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | / pub(crate) async fn write(self, writer: &mut W) -> SageResult { [INFO] [stdout] 79 | | let mut n_bytes = codec::write_reason_code(self.reason_code, writer).await?; [INFO] [stdout] 80 | | [INFO] [stdout] 81 | | let mut properties = Vec::new(); [INFO] [stdout] ... | [INFO] [stdout] 101 | | Ok(n_bytes) [INFO] [stdout] 102 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/disconnect.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | / pub(crate) async fn read(reader: &mut R) -> SageResult { [INFO] [stdout] 105 | | let reason_code = codec::read_byte(reader).await?.try_into()?; [INFO] [stdout] 106 | | [INFO] [stdout] 107 | | let mut user_properties = Vec::new(); [INFO] [stdout] ... | [INFO] [stdout] 129 | | }) [INFO] [stdout] 130 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/puback.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / use crate::{ [INFO] [stdout] 2 | | codec, PropertiesDecoder, Property, [INFO] [stdout] 3 | | ReasonCode::{self, ProtocolError}, [INFO] [stdout] 4 | | Result as SageResult, [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/puback.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | / impl PubAck { [INFO] [stdout] 48 | | pub(crate) async fn write(self, writer: &mut W) -> SageResult { [INFO] [stdout] 49 | | let mut n_bytes = codec::write_two_byte_integer(self.packet_identifier, writer).await?; [INFO] [stdout] 50 | | [INFO] [stdout] ... | [INFO] [stdout] 97 | | } [INFO] [stdout] 98 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/puback.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | / pub(crate) async fn write(self, writer: &mut W) -> SageResult { [INFO] [stdout] 49 | | let mut n_bytes = codec::write_two_byte_integer(self.packet_identifier, writer).await?; [INFO] [stdout] 50 | | [INFO] [stdout] 51 | | let mut properties = Vec::new(); [INFO] [stdout] ... | [INFO] [stdout] 67 | | } [INFO] [stdout] 68 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/puback.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | / pub(crate) async fn read( [INFO] [stdout] 71 | | reader: &mut R, [INFO] [stdout] 72 | | shortened: bool, [INFO] [stdout] 73 | | ) -> SageResult { [INFO] [stdout] ... | [INFO] [stdout] 96 | | Ok(puback) [INFO] [stdout] 97 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/pubcomp.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / use crate::{ [INFO] [stdout] 2 | | codec, PropertiesDecoder, Property, [INFO] [stdout] 3 | | ReasonCode::{self, ProtocolError}, [INFO] [stdout] 4 | | Result as SageResult, [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/pubcomp.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | / impl PubComp { [INFO] [stdout] 48 | | pub(crate) async fn write(self, writer: &mut W) -> SageResult { [INFO] [stdout] 49 | | let mut n_bytes = codec::write_two_byte_integer(self.packet_identifier, writer).await?; [INFO] [stdout] 50 | | [INFO] [stdout] ... | [INFO] [stdout] 97 | | } [INFO] [stdout] 98 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/pubcomp.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | / pub(crate) async fn write(self, writer: &mut W) -> SageResult { [INFO] [stdout] 49 | | let mut n_bytes = codec::write_two_byte_integer(self.packet_identifier, writer).await?; [INFO] [stdout] 50 | | [INFO] [stdout] 51 | | let mut properties = Vec::new(); [INFO] [stdout] ... | [INFO] [stdout] 67 | | } [INFO] [stdout] 68 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/pubcomp.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | / pub(crate) async fn read( [INFO] [stdout] 71 | | reader: &mut R, [INFO] [stdout] 72 | | shortened: bool, [INFO] [stdout] 73 | | ) -> SageResult { [INFO] [stdout] ... | [INFO] [stdout] 96 | | Ok(pubcomp) [INFO] [stdout] 97 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/publish.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / use crate::{ [INFO] [stdout] 2 | | codec, defaults::DEFAULT_PAYLOAD_FORMAT_INDICATOR, PropertiesDecoder, Property, QoS, [INFO] [stdout] 3 | | ReasonCode::ProtocolError, Result as SageResult, [INFO] [stdout] 4 | | }; [INFO] [stdout] ... | [INFO] [stdout] 260 | | } [INFO] [stdout] 261 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/publish.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 89 | / impl Publish { [INFO] [stdout] 90 | | pub(crate) async fn write(self, writer: &mut W) -> SageResult { [INFO] [stdout] 91 | | let mut n_bytes = codec::write_utf8_string(&self.topic_name, writer).await?; [INFO] [stdout] 92 | | [INFO] [stdout] ... | [INFO] [stdout] 204 | | } [INFO] [stdout] 205 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/publish.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | / pub(crate) async fn write(self, writer: &mut W) -> SageResult { [INFO] [stdout] 91 | | let mut n_bytes = codec::write_utf8_string(&self.topic_name, writer).await?; [INFO] [stdout] 92 | | [INFO] [stdout] 93 | | if self.qos != QoS::AtMostOnce { [INFO] [stdout] ... | [INFO] [stdout] 142 | | Ok(n_bytes) [INFO] [stdout] 143 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/publish.rs:145:5 [INFO] [stdout] | [INFO] [stdout] 145 | / pub(crate) async fn read( [INFO] [stdout] 146 | | reader: &mut R, [INFO] [stdout] 147 | | duplicate: bool, [INFO] [stdout] 148 | | qos: QoS, [INFO] [stdout] ... | [INFO] [stdout] 203 | | }) [INFO] [stdout] 204 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/pubrec.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / use crate::{ [INFO] [stdout] 2 | | codec, PropertiesDecoder, Property, [INFO] [stdout] 3 | | ReasonCode::{self, ProtocolError}, [INFO] [stdout] 4 | | Result as SageResult, [INFO] [stdout] ... | [INFO] [stdout] 135 | | } [INFO] [stdout] 136 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/pubrec.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | / impl PubRec { [INFO] [stdout] 48 | | pub(crate) async fn write(self, writer: &mut W) -> SageResult { [INFO] [stdout] 49 | | let mut n_bytes = codec::write_two_byte_integer(self.packet_identifier, writer).await?; [INFO] [stdout] 50 | | [INFO] [stdout] ... | [INFO] [stdout] 97 | | } [INFO] [stdout] 98 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/pubrec.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | / pub(crate) async fn write(self, writer: &mut W) -> SageResult { [INFO] [stdout] 49 | | let mut n_bytes = codec::write_two_byte_integer(self.packet_identifier, writer).await?; [INFO] [stdout] 50 | | [INFO] [stdout] 51 | | let mut properties = Vec::new(); [INFO] [stdout] ... | [INFO] [stdout] 67 | | } [INFO] [stdout] 68 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/pubrec.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | / pub(crate) async fn read( [INFO] [stdout] 71 | | reader: &mut R, [INFO] [stdout] 72 | | shortened: bool, [INFO] [stdout] 73 | | ) -> SageResult { [INFO] [stdout] ... | [INFO] [stdout] 96 | | Ok(pubrec) [INFO] [stdout] 97 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/pubrel.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / use crate::{ [INFO] [stdout] 2 | | codec, PropertiesDecoder, Property, [INFO] [stdout] 3 | | ReasonCode::{self, ProtocolError}, [INFO] [stdout] 4 | | Result as SageResult, [INFO] [stdout] ... | [INFO] [stdout] 135 | | } [INFO] [stdout] 136 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/pubrel.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | / impl PubRel { [INFO] [stdout] 48 | | pub(crate) async fn write(self, writer: &mut W) -> SageResult { [INFO] [stdout] 49 | | let mut n_bytes = codec::write_two_byte_integer(self.packet_identifier, writer).await?; [INFO] [stdout] 50 | | [INFO] [stdout] ... | [INFO] [stdout] 97 | | } [INFO] [stdout] 98 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/pubrel.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | / pub(crate) async fn write(self, writer: &mut W) -> SageResult { [INFO] [stdout] 49 | | let mut n_bytes = codec::write_two_byte_integer(self.packet_identifier, writer).await?; [INFO] [stdout] 50 | | [INFO] [stdout] 51 | | let mut properties = Vec::new(); [INFO] [stdout] ... | [INFO] [stdout] 67 | | } [INFO] [stdout] 68 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/pubrel.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | / pub(crate) async fn read( [INFO] [stdout] 71 | | reader: &mut R, [INFO] [stdout] 72 | | shortened: bool, [INFO] [stdout] 73 | | ) -> SageResult { [INFO] [stdout] ... | [INFO] [stdout] 96 | | Ok(pubrel) [INFO] [stdout] 97 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/suback.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / use crate::{ [INFO] [stdout] 2 | | codec, PropertiesDecoder, Property, [INFO] [stdout] 3 | | ReasonCode::{self, ProtocolError}, [INFO] [stdout] 4 | | Result as SageResult, [INFO] [stdout] ... | [INFO] [stdout] 122 | | } [INFO] [stdout] 123 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/suback.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | / impl SubAck { [INFO] [stdout] 37 | | pub(crate) async fn write(self, writer: &mut W) -> SageResult { [INFO] [stdout] 38 | | let mut n_bytes = codec::write_two_byte_integer(self.packet_identifier, writer).await?; [INFO] [stdout] 39 | | [INFO] [stdout] ... | [INFO] [stdout] 83 | | } [INFO] [stdout] 84 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/suback.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | / pub(crate) async fn write(self, writer: &mut W) -> SageResult { [INFO] [stdout] 38 | | let mut n_bytes = codec::write_two_byte_integer(self.packet_identifier, writer).await?; [INFO] [stdout] 39 | | [INFO] [stdout] 40 | | let mut properties = Vec::new(); [INFO] [stdout] ... | [INFO] [stdout] 53 | | Ok(n_bytes) [INFO] [stdout] 54 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/suback.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | / pub(crate) async fn read( [INFO] [stdout] 57 | | reader: &mut R, [INFO] [stdout] 58 | | remaining_size: usize, [INFO] [stdout] 59 | | ) -> SageResult { [INFO] [stdout] ... | [INFO] [stdout] 82 | | }) [INFO] [stdout] 83 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/subscribe.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / use crate::{ [INFO] [stdout] 2 | | codec, [INFO] [stdout] 3 | | defaults::DEFAULT_MAXIMUM_QOS, [INFO] [stdout] 4 | | Error, PropertiesDecoder, Property, QoS, [INFO] [stdout] ... | [INFO] [stdout] 265 | | } [INFO] [stdout] 266 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/subscribe.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 70 | / impl SubscriptionOptions { [INFO] [stdout] 71 | | async fn encode(self, writer: &mut W) -> SageResult { [INFO] [stdout] 72 | | let byte: u8 = self.qos as u8 [INFO] [stdout] 73 | | | (self.no_local as u8) << 2 [INFO] [stdout] ... | [INFO] [stdout] 91 | | } [INFO] [stdout] 92 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/subscribe.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | / async fn encode(self, writer: &mut W) -> SageResult { [INFO] [stdout] 72 | | let byte: u8 = self.qos as u8 [INFO] [stdout] 73 | | | (self.no_local as u8) << 2 [INFO] [stdout] 74 | | | (self.retain_as_published as u8) << 3 [INFO] [stdout] 75 | | | (self.retain_handling as u8) << 4; [INFO] [stdout] 76 | | codec::write_byte(byte, writer).await [INFO] [stdout] 77 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/subscribe.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | / async fn decode(reader: &mut R) -> SageResult { [INFO] [stdout] 80 | | let flags = codec::read_byte(reader).await?; [INFO] [stdout] 81 | | if flags & 0b1100_0000 > 0 { [INFO] [stdout] 82 | | Err(ProtocolError.into()) [INFO] [stdout] ... | [INFO] [stdout] 90 | | } [INFO] [stdout] 91 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/subscribe.rs:125:1 [INFO] [stdout] | [INFO] [stdout] 125 | / impl Subscribe { [INFO] [stdout] 126 | | pub(crate) async fn write(self, writer: &mut W) -> SageResult { [INFO] [stdout] 127 | | let mut n_bytes = codec::write_two_byte_integer(self.packet_identifier, writer).await?; [INFO] [stdout] 128 | | [INFO] [stdout] ... | [INFO] [stdout] 189 | | } [INFO] [stdout] 190 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/subscribe.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 126 | / pub(crate) async fn write(self, writer: &mut W) -> SageResult { [INFO] [stdout] 127 | | let mut n_bytes = codec::write_two_byte_integer(self.packet_identifier, writer).await?; [INFO] [stdout] 128 | | [INFO] [stdout] 129 | | let mut properties = Vec::new(); [INFO] [stdout] ... | [INFO] [stdout] 148 | | Ok(n_bytes) [INFO] [stdout] 149 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/subscribe.rs:151:5 [INFO] [stdout] | [INFO] [stdout] 151 | / pub(crate) async fn read( [INFO] [stdout] 152 | | reader: &mut R, [INFO] [stdout] 153 | | remaining_size: usize, [INFO] [stdout] 154 | | ) -> SageResult { [INFO] [stdout] ... | [INFO] [stdout] 188 | | } [INFO] [stdout] 189 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/unsuback.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / use crate::{ [INFO] [stdout] 2 | | codec, PropertiesDecoder, Property, [INFO] [stdout] 3 | | ReasonCode::{self, ProtocolError}, [INFO] [stdout] 4 | | Result as SageResult, [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [INFO] [stdout] 137 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/unsuback.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | / impl UnSubAck { [INFO] [stdout] 40 | | pub(crate) async fn write(self, writer: &mut W) -> SageResult { [INFO] [stdout] 41 | | let mut n_bytes = codec::write_two_byte_integer(self.packet_identifier, writer).await?; [INFO] [stdout] 42 | | [INFO] [stdout] ... | [INFO] [stdout] 94 | | } [INFO] [stdout] 95 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/unsuback.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | / pub(crate) async fn write(self, writer: &mut W) -> SageResult { [INFO] [stdout] 41 | | let mut n_bytes = codec::write_two_byte_integer(self.packet_identifier, writer).await?; [INFO] [stdout] 42 | | [INFO] [stdout] 43 | | let mut properties = Vec::new(); [INFO] [stdout] ... | [INFO] [stdout] 61 | | Ok(n_bytes) [INFO] [stdout] 62 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/unsuback.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | / pub(crate) async fn read( [INFO] [stdout] 65 | | reader: &mut R, [INFO] [stdout] 66 | | remaining_size: usize, [INFO] [stdout] 67 | | ) -> SageResult { [INFO] [stdout] ... | [INFO] [stdout] 93 | | }) [INFO] [stdout] 94 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/unsubscribe.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / use crate::{codec, PropertiesDecoder, Property, ReasonCode::ProtocolError, Result as SageResult}; [INFO] [stdout] 2 | | use futures::io::{AsyncRead, AsyncReadExt, AsyncWrite, AsyncWriteExt}; [INFO] [stdout] 3 | | use std::marker::Unpin; [INFO] [stdout] 4 | | [INFO] [stdout] ... | [INFO] [stdout] 123 | | } [INFO] [stdout] 124 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/unsubscribe.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | / impl UnSubscribe { [INFO] [stdout] 30 | | pub(crate) async fn write(self, writer: &mut W) -> SageResult { [INFO] [stdout] 31 | | let mut n_bytes = codec::write_two_byte_integer(self.packet_identifier, writer).await?; [INFO] [stdout] 32 | | [INFO] [stdout] ... | [INFO] [stdout] 80 | | } [INFO] [stdout] 81 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/unsubscribe.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | / pub(crate) async fn write(self, writer: &mut W) -> SageResult { [INFO] [stdout] 31 | | let mut n_bytes = codec::write_two_byte_integer(self.packet_identifier, writer).await?; [INFO] [stdout] 32 | | [INFO] [stdout] 33 | | let mut properties = Vec::new(); [INFO] [stdout] ... | [INFO] [stdout] 44 | | Ok(n_bytes) [INFO] [stdout] 45 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/unsubscribe.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | / pub(crate) async fn read( [INFO] [stdout] 48 | | reader: &mut R, [INFO] [stdout] 49 | | remaining_size: usize, [INFO] [stdout] 50 | | ) -> SageResult { [INFO] [stdout] ... | [INFO] [stdout] 79 | | } [INFO] [stdout] 80 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/mod.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | /// String alias to represent a client identifier [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/defaults.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / use crate::QoS; [INFO] [stdout] 2 | | [INFO] [stdout] 3 | | pub const DEFAULT_MAXIMUM_QOS: QoS = QoS::ExactlyOnce; [INFO] [stdout] 4 | | pub const DEFAULT_PAYLOAD_FORMAT_INDICATOR: bool = false; [INFO] [stdout] ... | [INFO] [stdout] 13 | | pub const DEFAULT_WILL_DELAY_INTERVAL: u32 = 0; [INFO] [stdout] 14 | | pub const DEFAULT_SUBSCRIPTION_IDENTIFIER_AVAILABLE: bool = true; [INFO] [stdout] | |_________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/defaults.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub const DEFAULT_MAXIMUM_QOS: QoS = QoS::ExactlyOnce; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/defaults.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub const DEFAULT_PAYLOAD_FORMAT_INDICATOR: bool = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/defaults.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub const DEFAULT_RECEIVE_MAXIMUM: u16 = 65_535; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/defaults.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub const DEFAULT_REQUEST_PROBLEM_INFORMATION: bool = true; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/defaults.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub const DEFAULT_REQUEST_RESPONSE_INFORMATION: bool = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/defaults.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub const DEFAULT_RETAIN_AVAILABLE: bool = true; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/defaults.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub const DEFAULT_SESSION_EXPIRY_INTERVAL: u32 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/defaults.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | pub const DEFAULT_SHARED_SUBSCRIPTION_AVAILABLE: bool = true; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/defaults.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub const DEFAULT_TOPIC_ALIAS_MAXIMUM: u16 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/defaults.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub const DEFAULT_WILCARD_SUBSCRIPTION_AVAILABLE: bool = true; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/defaults.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub const DEFAULT_WILL_DELAY_INTERVAL: u32 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/defaults.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub const DEFAULT_SUBSCRIPTION_IDENTIFIER_AVAILABLE: bool = true; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/error.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / use crate::ReasonCode; [INFO] [stdout] 2 | | use futures::io::Error as AsyncIOError; [INFO] [stdout] 3 | | use std::{ [INFO] [stdout] 4 | | error::Error as StdError, [INFO] [stdout] ... | [INFO] [stdout] 49 | | } [INFO] [stdout] 50 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/error.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | /// Standard Result type for Sage MQTT [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/packet.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / use crate::{ [INFO] [stdout] 2 | | codec, Auth, ConnAck, Connect, Disconnect, PacketType, PingReq, PingResp, PubAck, PubComp, [INFO] [stdout] 3 | | PubRec, PubRel, Publish, ReasonCode::ProtocolError, Result as SageResult, SubAck, Subscribe, [INFO] [stdout] 4 | | UnSubAck, UnSubscribe, [INFO] [stdout] ... | [INFO] [stdout] 298 | | } [INFO] [stdout] 299 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/packet.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | / struct FixedHeader { [INFO] [stdout] 11 | | pub packet_type: PacketType, [INFO] [stdout] 12 | | pub remaining_size: usize, [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/packet.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub packet_type: PacketType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/packet.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub remaining_size: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/packet.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | / impl FixedHeader { [INFO] [stdout] 16 | | async fn encode(self, writer: &mut W) -> SageResult { [INFO] [stdout] 17 | | let mut n = codec::write_control_packet_type(self.packet_type, writer).await?; [INFO] [stdout] 18 | | n += codec::write_variable_byte_integer(self.remaining_size as u32, writer).await?; [INFO] [stdout] ... | [INFO] [stdout] 29 | | } [INFO] [stdout] 30 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/packet.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | / async fn encode(self, writer: &mut W) -> SageResult { [INFO] [stdout] 17 | | let mut n = codec::write_control_packet_type(self.packet_type, writer).await?; [INFO] [stdout] 18 | | n += codec::write_variable_byte_integer(self.remaining_size as u32, writer).await?; [INFO] [stdout] 19 | | Ok(n) [INFO] [stdout] 20 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/packet.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | / async fn decode(reader: &mut R) -> SageResult { [INFO] [stdout] 23 | | let packet_type = codec::read_control_packet_type(reader).await?; [INFO] [stdout] 24 | | let remaining_size = codec::read_variable_byte_integer(reader).await? as usize; [INFO] [stdout] 25 | | Ok(FixedHeader { [INFO] [stdout] ... | [INFO] [stdout] 28 | | }) [INFO] [stdout] 29 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/packet.rs:158:1 [INFO] [stdout] | [INFO] [stdout] 158 | / impl Packet { [INFO] [stdout] 159 | | /// Write the entire `Packet` to `writer`, returning the number of [INFO] [stdout] 160 | | /// bytes written. [INFO] [stdout] 161 | | /// In case of failure, the operation will return any MQTT-related error, or [INFO] [stdout] ... | [INFO] [stdout] 298 | | } [INFO] [stdout] 299 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/packet.rs:159:5 [INFO] [stdout] | [INFO] [stdout] 159 | / /// Write the entire `Packet` to `writer`, returning the number of [INFO] [stdout] 160 | | /// bytes written. [INFO] [stdout] 161 | | /// In case of failure, the operation will return any MQTT-related error, or [INFO] [stdout] 162 | | /// `std::io::Error`. [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/packet.rs:240:5 [INFO] [stdout] | [INFO] [stdout] 240 | / /// Read a control packet from `reader`, returning a new `Packet`. [INFO] [stdout] 241 | | /// In case of failure, the operation will return any MQTT-related error, or [INFO] [stdout] 242 | | /// `std::io::Error`. [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/packet_type.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / use crate::QoS; [INFO] [stdout] 2 | | [INFO] [stdout] 3 | | /// The control packet type is present as the first element of the fixed header [INFO] [stdout] 4 | | /// in an MQTT paquet. It is encoded in a 8bit flag set where the 4 most [INFO] [stdout] ... | [INFO] [stdout] 48 | | } [INFO] [stdout] 49 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/packet_type.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / /// The control packet type is present as the first element of the fixed header [INFO] [stdout] 4 | | /// in an MQTT paquet. It is encoded in a 8bit flag set where the 4 most [INFO] [stdout] 5 | | /// significant bits represent the type of the paquet and the 4 least are flags [INFO] [stdout] 6 | | /// where values depend on the type. [INFO] [stdout] | |____________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/packet_type.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | RESERVED, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/packet_type.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | CONNECT, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/packet_type.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | CONNACK, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/packet_type.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | / PUBLISH { [INFO] [stdout] 13 | | duplicate: bool, [INFO] [stdout] 14 | | qos: QoS, [INFO] [stdout] 15 | | retain: bool, [INFO] [stdout] 16 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/packet_type.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | duplicate: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/packet_type.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | qos: QoS, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/packet_type.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | retain: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/packet_type.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | PUBACK, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/packet_type.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | PUBREC, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/packet_type.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | PUBREL, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/packet_type.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | PUBCOMP, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/packet_type.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | SUBSCRIBE, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/packet_type.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | SUBACK, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/packet_type.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | UNSUBSCRIBE, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/packet_type.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | UNSUBACK, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/packet_type.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | PINGREQ, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/packet_type.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | PINGRESP, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/packet_type.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | DISCONNECT, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/packet_type.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | AUTH, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/packet_type.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | / enum PayloadRequirements { [INFO] [stdout] 32 | | None, [INFO] [stdout] 33 | | Required, [INFO] [stdout] 34 | | Optional, [INFO] [stdout] 35 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/packet_type.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | None, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/packet_type.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | Required, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/packet_type.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | Optional, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/property.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / use crate::{ [INFO] [stdout] 2 | | codec, [INFO] [stdout] 3 | | defaults::{ [INFO] [stdout] 4 | | DEFAULT_MAXIMUM_QOS, DEFAULT_PAYLOAD_FORMAT_INDICATOR, DEFAULT_RECEIVE_MAXIMUM, [INFO] [stdout] ... | [INFO] [stdout] 443 | | } [INFO] [stdout] 444 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/property.rs:120:1 [INFO] [stdout] | [INFO] [stdout] 120 | / pub struct PropertiesDecoder { [INFO] [stdout] 121 | | reader: Take, [INFO] [stdout] 122 | | marked: HashSet, [INFO] [stdout] 123 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/property.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 121 | reader: Take, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/property.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 122 | marked: HashSet, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/property.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / enum PropertyId { [INFO] [stdout] 20 | | PayloadFormatIndicator = 0x01, [INFO] [stdout] 21 | | MessageExpiryInterval = 0x02, [INFO] [stdout] 22 | | ContentType = 0x03, [INFO] [stdout] ... | [INFO] [stdout] 46 | | SharedSubscriptionAvailable = 0x2A, [INFO] [stdout] 47 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/property.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | PayloadFormatIndicator = 0x01, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/property.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | MessageExpiryInterval = 0x02, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/property.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | ContentType = 0x03, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/property.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | ResponseTopic = 0x08, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/property.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | CorrelationData = 0x09, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/property.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | SubscriptionIdentifier = 0x0B, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/property.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | SessionExpiryInterval = 0x11, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/property.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | AssignedClientIdentifier = 0x12, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/property.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | ServerKeepAlive = 0x13, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/property.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | AuthenticationMethod = 0x15, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/property.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | AuthenticationData = 0x16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/property.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | RequestProblemInformation = 0x17, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/property.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | WillDelayInterval = 0x18, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/property.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | RequestResponseInformation = 0x19, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/property.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | ResponseInformation = 0x1A, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/property.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | ServerReference = 0x1C, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/property.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | ReasonString = 0x1F, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/property.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | ReceiveMaximum = 0x21, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/property.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | TopicAliasMaximum = 0x22, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/property.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | TopicAlias = 0x23, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/property.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | MaximumQoS = 0x24, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/property.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | RetainAvailable = 0x25, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/property.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | UserProperty = 0x26, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/property.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | MaximumPacketSize = 0x27, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/property.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | WildcardSubscriptionAvailable = 0x28, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/property.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | SubscriptionIdentifiersAvailable = 0x29, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/property.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | SharedSubscriptionAvailable = 0x2A, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/property.rs:90:1 [INFO] [stdout] | [INFO] [stdout] 90 | / pub enum Property { [INFO] [stdout] 91 | | PayloadFormatIndicator(bool), [INFO] [stdout] 92 | | MessageExpiryInterval(u32), [INFO] [stdout] 93 | | ContentType(String), [INFO] [stdout] ... | [INFO] [stdout] 117 | | SharedSubscriptionAvailable(bool), [INFO] [stdout] 118 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/property.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | PayloadFormatIndicator(bool), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/property.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | MessageExpiryInterval(u32), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/property.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | ContentType(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/property.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | ResponseTopic(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/property.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | CorrelationData(Vec), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/property.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 96 | SubscriptionIdentifier(u32), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/property.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 97 | SessionExpiryInterval(u32), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/property.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 98 | AssignedClientIdentifier(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/property.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 99 | ServerKeepAlive(u16), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/property.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 100 | AuthenticationMethod(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/property.rs:101:5 [INFO] [stdout] | [INFO] [stdout] 101 | AuthenticationData(Vec), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/property.rs:102:5 [INFO] [stdout] | [INFO] [stdout] 102 | RequestProblemInformation(bool), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/property.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 103 | WillDelayInterval(u32), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/property.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | RequestResponseInformation(bool), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/property.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 105 | ResponseInformation(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/property.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 106 | ServerReference(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/property.rs:107:5 [INFO] [stdout] | [INFO] [stdout] 107 | ReasonString(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/property.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | ReceiveMaximum(u16), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/property.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | TopicAliasMaximum(u16), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/property.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | TopicAlias(u16), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/property.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 111 | MaximumQoS(QoS), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/property.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | RetainAvailable(bool), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/property.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | UserProperty(String, String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/property.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | MaximumPacketSize(u32), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/property.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 115 | WildcardSubscriptionAvailable(bool), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/property.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 116 | SubscriptionIdentifiersAvailable(bool), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/property.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 117 | SharedSubscriptionAvailable(bool), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/property.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | / async fn write_property_id( [INFO] [stdout] 50 | | id: PropertyId, [INFO] [stdout] 51 | | writer: &mut W, [INFO] [stdout] 52 | | ) -> SageResult { [INFO] [stdout] 53 | | codec::write_variable_byte_integer(id as u32, writer).await [INFO] [stdout] 54 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/property.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | / async fn read_property_id(reader: &mut R) -> SageResult { [INFO] [stdout] 57 | | match codec::read_variable_byte_integer(reader).await? { [INFO] [stdout] 58 | | 0x01 => Ok(PropertyId::PayloadFormatIndicator), [INFO] [stdout] 59 | | 0x02 => Ok(PropertyId::MessageExpiryInterval), [INFO] [stdout] ... | [INFO] [stdout] 86 | | } [INFO] [stdout] 87 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/property.rs:125:1 [INFO] [stdout] | [INFO] [stdout] 125 | / impl<'a, R: AsyncRead + Unpin> PropertiesDecoder { [INFO] [stdout] 126 | | pub async fn take(mut stream: R) -> SageResult { [INFO] [stdout] 127 | | let len = codec::read_variable_byte_integer(&mut stream).await? as u64; [INFO] [stdout] 128 | | let reader = stream.take(len); [INFO] [stdout] ... | [INFO] [stdout] 266 | | } [INFO] [stdout] 267 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/property.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 126 | / pub async fn take(mut stream: R) -> SageResult { [INFO] [stdout] 127 | | let len = codec::read_variable_byte_integer(&mut stream).await? as u64; [INFO] [stdout] 128 | | let reader = stream.take(len); [INFO] [stdout] 129 | | Ok(PropertiesDecoder { [INFO] [stdout] ... | [INFO] [stdout] 132 | | }) [INFO] [stdout] 133 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/property.rs:135:5 [INFO] [stdout] | [INFO] [stdout] 135 | / pub fn into_inner(self) -> R { [INFO] [stdout] 136 | | self.reader.into_inner() [INFO] [stdout] 137 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/property.rs:139:5 [INFO] [stdout] | [INFO] [stdout] 139 | / pub fn has_properties(&self) -> bool { [INFO] [stdout] 140 | | self.reader.limit() > 0 [INFO] [stdout] 141 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/property.rs:143:5 [INFO] [stdout] | [INFO] [stdout] 143 | / pub async fn read(&mut self) -> SageResult { [INFO] [stdout] 144 | | let reader = &mut self.reader; [INFO] [stdout] 145 | | let property_id = read_property_id(reader).await?; [INFO] [stdout] 146 | | [INFO] [stdout] ... | [INFO] [stdout] 154 | | self.read_property_value(property_id).await [INFO] [stdout] 155 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/property.rs:157:5 [INFO] [stdout] | [INFO] [stdout] 157 | / async fn read_property_value(&mut self, id: PropertyId) -> SageResult { [INFO] [stdout] 158 | | let reader = &mut self.reader; [INFO] [stdout] 159 | | match id { [INFO] [stdout] 160 | | PropertyId::PayloadFormatIndicator => match codec::read_byte(reader).await? { [INFO] [stdout] ... | [INFO] [stdout] 265 | | } [INFO] [stdout] 266 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/property.rs:269:1 [INFO] [stdout] | [INFO] [stdout] 269 | / impl Property { [INFO] [stdout] 270 | | pub async fn encode(self, writer: &mut W) -> SageResult { [INFO] [stdout] 271 | | match self { [INFO] [stdout] 272 | | Property::PayloadFormatIndicator(v) => { [INFO] [stdout] ... | [INFO] [stdout] 443 | | } [INFO] [stdout] 444 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/property.rs:270:5 [INFO] [stdout] | [INFO] [stdout] 270 | / pub async fn encode(self, writer: &mut W) -> SageResult { [INFO] [stdout] 271 | | match self { [INFO] [stdout] 272 | | Property::PayloadFormatIndicator(v) => { [INFO] [stdout] 273 | | if v != DEFAULT_PAYLOAD_FORMAT_INDICATOR { [INFO] [stdout] ... | [INFO] [stdout] 442 | | } [INFO] [stdout] 443 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/quality_of_service.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / use crate::{Error as SageError, ReasonCode::MalformedPacket}; [INFO] [stdout] 2 | | use std::convert::TryFrom; [INFO] [stdout] 3 | | [INFO] [stdout] 4 | | /// Description the quality of service used in message publishing. [INFO] [stdout] ... | [INFO] [stdout] 36 | | } [INFO] [stdout] 37 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/reason_code.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / use crate::Error as SageError; [INFO] [stdout] 2 | | use futures::io::ErrorKind; [INFO] [stdout] 3 | | use std::convert::TryFrom; [INFO] [stdout] 4 | | [INFO] [stdout] ... | [INFO] [stdout] 212 | | } [INFO] [stdout] 213 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/will.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / use crate::{ [INFO] [stdout] 2 | | defaults::{DEFAULT_PAYLOAD_FORMAT_INDICATOR, DEFAULT_WILL_DELAY_INTERVAL}, [INFO] [stdout] 3 | | QoS, [INFO] [stdout] 4 | | }; [INFO] [stdout] ... | [INFO] [stdout] 69 | | } [INFO] [stdout] 70 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/error.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | / impl From for Error { [INFO] [stdout] 41 | | fn from(err: AsyncIOError) -> Self { [INFO] [stdout] 42 | | Error::Io(err) [INFO] [stdout] 43 | | } [INFO] [stdout] 44 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/error.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | / fn from(err: AsyncIOError) -> Self { [INFO] [stdout] 42 | | Error::Io(err) [INFO] [stdout] 43 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/error.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | / impl From for Error { [INFO] [stdout] 47 | | fn from(rc: ReasonCode) -> Self { [INFO] [stdout] 48 | | Error::Reason(rc) [INFO] [stdout] 49 | | } [INFO] [stdout] 50 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/error.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | / fn from(rc: ReasonCode) -> Self { [INFO] [stdout] 48 | | Error::Reason(rc) [INFO] [stdout] 49 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/packet.rs:82:1 [INFO] [stdout] | [INFO] [stdout] 82 | / impl From for Packet { [INFO] [stdout] 83 | | fn from(control: Connect) -> Self { [INFO] [stdout] 84 | | Packet::Connect(control) [INFO] [stdout] 85 | | } [INFO] [stdout] 86 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/packet.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | / fn from(control: Connect) -> Self { [INFO] [stdout] 84 | | Packet::Connect(control) [INFO] [stdout] 85 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/packet.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | / impl From for Packet { [INFO] [stdout] 88 | | fn from(control: ConnAck) -> Self { [INFO] [stdout] 89 | | Packet::ConnAck(control) [INFO] [stdout] 90 | | } [INFO] [stdout] 91 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/packet.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | / fn from(control: ConnAck) -> Self { [INFO] [stdout] 89 | | Packet::ConnAck(control) [INFO] [stdout] 90 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/packet.rs:92:1 [INFO] [stdout] | [INFO] [stdout] 92 | / impl From for Packet { [INFO] [stdout] 93 | | fn from(control: Publish) -> Self { [INFO] [stdout] 94 | | Packet::Publish(control) [INFO] [stdout] 95 | | } [INFO] [stdout] 96 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/packet.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | / fn from(control: Publish) -> Self { [INFO] [stdout] 94 | | Packet::Publish(control) [INFO] [stdout] 95 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/packet.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 97 | / impl From for Packet { [INFO] [stdout] 98 | | fn from(control: PubAck) -> Self { [INFO] [stdout] 99 | | Packet::PubAck(control) [INFO] [stdout] 100 | | } [INFO] [stdout] 101 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/packet.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 98 | / fn from(control: PubAck) -> Self { [INFO] [stdout] 99 | | Packet::PubAck(control) [INFO] [stdout] 100 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/packet.rs:102:1 [INFO] [stdout] | [INFO] [stdout] 102 | / impl From for Packet { [INFO] [stdout] 103 | | fn from(control: PubRec) -> Self { [INFO] [stdout] 104 | | Packet::PubRec(control) [INFO] [stdout] 105 | | } [INFO] [stdout] 106 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/packet.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 103 | / fn from(control: PubRec) -> Self { [INFO] [stdout] 104 | | Packet::PubRec(control) [INFO] [stdout] 105 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/packet.rs:107:1 [INFO] [stdout] | [INFO] [stdout] 107 | / impl From for Packet { [INFO] [stdout] 108 | | fn from(control: PubRel) -> Self { [INFO] [stdout] 109 | | Packet::PubRel(control) [INFO] [stdout] 110 | | } [INFO] [stdout] 111 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/packet.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | / fn from(control: PubRel) -> Self { [INFO] [stdout] 109 | | Packet::PubRel(control) [INFO] [stdout] 110 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/packet.rs:112:1 [INFO] [stdout] | [INFO] [stdout] 112 | / impl From for Packet { [INFO] [stdout] 113 | | fn from(control: PubComp) -> Self { [INFO] [stdout] 114 | | Packet::PubComp(control) [INFO] [stdout] 115 | | } [INFO] [stdout] 116 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/packet.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | / fn from(control: PubComp) -> Self { [INFO] [stdout] 114 | | Packet::PubComp(control) [INFO] [stdout] 115 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/packet.rs:117:1 [INFO] [stdout] | [INFO] [stdout] 117 | / impl From for Packet { [INFO] [stdout] 118 | | fn from(control: Subscribe) -> Self { [INFO] [stdout] 119 | | Packet::Subscribe(control) [INFO] [stdout] 120 | | } [INFO] [stdout] 121 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/packet.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | / fn from(control: Subscribe) -> Self { [INFO] [stdout] 119 | | Packet::Subscribe(control) [INFO] [stdout] 120 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/packet.rs:122:1 [INFO] [stdout] | [INFO] [stdout] 122 | / impl From for Packet { [INFO] [stdout] 123 | | fn from(control: SubAck) -> Self { [INFO] [stdout] 124 | | Packet::SubAck(control) [INFO] [stdout] 125 | | } [INFO] [stdout] 126 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/packet.rs:123:5 [INFO] [stdout] | [INFO] [stdout] 123 | / fn from(control: SubAck) -> Self { [INFO] [stdout] 124 | | Packet::SubAck(control) [INFO] [stdout] 125 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/packet.rs:127:1 [INFO] [stdout] | [INFO] [stdout] 127 | / impl From for Packet { [INFO] [stdout] 128 | | fn from(control: UnSubscribe) -> Self { [INFO] [stdout] 129 | | Packet::UnSubscribe(control) [INFO] [stdout] 130 | | } [INFO] [stdout] 131 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/packet.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 128 | / fn from(control: UnSubscribe) -> Self { [INFO] [stdout] 129 | | Packet::UnSubscribe(control) [INFO] [stdout] 130 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/packet.rs:132:1 [INFO] [stdout] | [INFO] [stdout] 132 | / impl From for Packet { [INFO] [stdout] 133 | | fn from(control: UnSubAck) -> Self { [INFO] [stdout] 134 | | Packet::UnSubAck(control) [INFO] [stdout] 135 | | } [INFO] [stdout] 136 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/packet.rs:133:5 [INFO] [stdout] | [INFO] [stdout] 133 | / fn from(control: UnSubAck) -> Self { [INFO] [stdout] 134 | | Packet::UnSubAck(control) [INFO] [stdout] 135 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/packet.rs:137:1 [INFO] [stdout] | [INFO] [stdout] 137 | / impl From for Packet { [INFO] [stdout] 138 | | fn from(_: PingReq) -> Self { [INFO] [stdout] 139 | | Packet::PingReq [INFO] [stdout] 140 | | } [INFO] [stdout] 141 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/packet.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 138 | / fn from(_: PingReq) -> Self { [INFO] [stdout] 139 | | Packet::PingReq [INFO] [stdout] 140 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/packet.rs:142:1 [INFO] [stdout] | [INFO] [stdout] 142 | / impl From for Packet { [INFO] [stdout] 143 | | fn from(_: PingResp) -> Self { [INFO] [stdout] 144 | | Packet::PingResp [INFO] [stdout] 145 | | } [INFO] [stdout] 146 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/packet.rs:143:5 [INFO] [stdout] | [INFO] [stdout] 143 | / fn from(_: PingResp) -> Self { [INFO] [stdout] 144 | | Packet::PingResp [INFO] [stdout] 145 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/packet.rs:147:1 [INFO] [stdout] | [INFO] [stdout] 147 | / impl From for Packet { [INFO] [stdout] 148 | | fn from(control: Disconnect) -> Self { [INFO] [stdout] 149 | | Packet::Disconnect(control) [INFO] [stdout] 150 | | } [INFO] [stdout] 151 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/packet.rs:148:5 [INFO] [stdout] | [INFO] [stdout] 148 | / fn from(control: Disconnect) -> Self { [INFO] [stdout] 149 | | Packet::Disconnect(control) [INFO] [stdout] 150 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/packet.rs:152:1 [INFO] [stdout] | [INFO] [stdout] 152 | / impl From for Packet { [INFO] [stdout] 153 | | fn from(control: Auth) -> Self { [INFO] [stdout] 154 | | Packet::Auth(control) [INFO] [stdout] 155 | | } [INFO] [stdout] 156 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/packet.rs:153:5 [INFO] [stdout] | [INFO] [stdout] 153 | / fn from(control: Auth) -> Self { [INFO] [stdout] 154 | | Packet::Auth(control) [INFO] [stdout] 155 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/packet_type.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | / impl From for PayloadRequirements { [INFO] [stdout] 38 | | fn from(value: PacketType) -> Self { [INFO] [stdout] 39 | | match value { [INFO] [stdout] 40 | | PacketType::PUBLISH { .. } => PayloadRequirements::Optional, [INFO] [stdout] ... | [INFO] [stdout] 48 | | } [INFO] [stdout] 49 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/packet_type.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | / fn from(value: PacketType) -> Self { [INFO] [stdout] 39 | | match value { [INFO] [stdout] 40 | | PacketType::PUBLISH { .. } => PayloadRequirements::Optional, [INFO] [stdout] 41 | | PacketType::CONNECT [INFO] [stdout] ... | [INFO] [stdout] 47 | | } [INFO] [stdout] 48 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/reason_code.rs:150:1 [INFO] [stdout] | [INFO] [stdout] 150 | / impl From for ReasonCode { [INFO] [stdout] 151 | | fn from(e: SageError) -> Self { [INFO] [stdout] 152 | | match e { [INFO] [stdout] 153 | | SageError::Reason(rc) => rc, [INFO] [stdout] ... | [INFO] [stdout] 159 | | } [INFO] [stdout] 160 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/reason_code.rs:151:5 [INFO] [stdout] | [INFO] [stdout] 151 | / fn from(e: SageError) -> Self { [INFO] [stdout] 152 | | match e { [INFO] [stdout] 153 | | SageError::Reason(rc) => rc, [INFO] [stdout] 154 | | SageError::Io(e) => match e.kind() { [INFO] [stdout] ... | [INFO] [stdout] 158 | | } [INFO] [stdout] 159 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/auth.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | / impl Default for Auth { [INFO] [stdout] 34 | | fn default() -> Self { [INFO] [stdout] 35 | | Auth { [INFO] [stdout] 36 | | reason_code: ReasonCode::Success, [INFO] [stdout] ... | [INFO] [stdout] 41 | | } [INFO] [stdout] 42 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/auth.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | / fn default() -> Self { [INFO] [stdout] 35 | | Auth { [INFO] [stdout] 36 | | reason_code: ReasonCode::Success, [INFO] [stdout] 37 | | authentication: Default::default(), [INFO] [stdout] ... | [INFO] [stdout] 40 | | } [INFO] [stdout] 41 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/connack.rs:104:1 [INFO] [stdout] | [INFO] [stdout] 104 | / impl Default for ConnAck { [INFO] [stdout] 105 | | fn default() -> Self { [INFO] [stdout] 106 | | ConnAck { [INFO] [stdout] 107 | | session_present: false, [INFO] [stdout] ... | [INFO] [stdout] 126 | | } [INFO] [stdout] 127 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/connack.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 105 | / fn default() -> Self { [INFO] [stdout] 106 | | ConnAck { [INFO] [stdout] 107 | | session_present: false, [INFO] [stdout] 108 | | reason_code: ReasonCode::Success, [INFO] [stdout] ... | [INFO] [stdout] 125 | | } [INFO] [stdout] 126 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/connect.rs:127:1 [INFO] [stdout] | [INFO] [stdout] 127 | / impl Default for Connect { [INFO] [stdout] 128 | | fn default() -> Self { [INFO] [stdout] 129 | | Connect { [INFO] [stdout] 130 | | clean_start: false, [INFO] [stdout] ... | [INFO] [stdout] 145 | | } [INFO] [stdout] 146 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/connect.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 128 | / fn default() -> Self { [INFO] [stdout] 129 | | Connect { [INFO] [stdout] 130 | | clean_start: false, [INFO] [stdout] 131 | | user_name: None, [INFO] [stdout] ... | [INFO] [stdout] 144 | | } [INFO] [stdout] 145 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/disconnect.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | / impl Default for Disconnect { [INFO] [stdout] 66 | | fn default() -> Self { [INFO] [stdout] 67 | | Disconnect { [INFO] [stdout] 68 | | reason_code: ReasonCode::Success, [INFO] [stdout] ... | [INFO] [stdout] 74 | | } [INFO] [stdout] 75 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/disconnect.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | / fn default() -> Self { [INFO] [stdout] 67 | | Disconnect { [INFO] [stdout] 68 | | reason_code: ReasonCode::Success, [INFO] [stdout] 69 | | reason_string: None, [INFO] [stdout] ... | [INFO] [stdout] 73 | | } [INFO] [stdout] 74 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/puback.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | / impl Default for PubAck { [INFO] [stdout] 37 | | fn default() -> Self { [INFO] [stdout] 38 | | PubAck { [INFO] [stdout] 39 | | packet_identifier: 0, [INFO] [stdout] ... | [INFO] [stdout] 44 | | } [INFO] [stdout] 45 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/puback.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | / fn default() -> Self { [INFO] [stdout] 38 | | PubAck { [INFO] [stdout] 39 | | packet_identifier: 0, [INFO] [stdout] 40 | | reason_code: ReasonCode::Success, [INFO] [stdout] ... | [INFO] [stdout] 43 | | } [INFO] [stdout] 44 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/pubcomp.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | / impl Default for PubComp { [INFO] [stdout] 37 | | fn default() -> Self { [INFO] [stdout] 38 | | PubComp { [INFO] [stdout] 39 | | packet_identifier: 0, [INFO] [stdout] ... | [INFO] [stdout] 44 | | } [INFO] [stdout] 45 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/pubcomp.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | / fn default() -> Self { [INFO] [stdout] 38 | | PubComp { [INFO] [stdout] 39 | | packet_identifier: 0, [INFO] [stdout] 40 | | reason_code: ReasonCode::Success, [INFO] [stdout] ... | [INFO] [stdout] 43 | | } [INFO] [stdout] 44 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/publish.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | / impl Default for Publish { [INFO] [stdout] 69 | | fn default() -> Self { [INFO] [stdout] 70 | | Publish { [INFO] [stdout] 71 | | duplicate: false, [INFO] [stdout] ... | [INFO] [stdout] 86 | | } [INFO] [stdout] 87 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/publish.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | / fn default() -> Self { [INFO] [stdout] 70 | | Publish { [INFO] [stdout] 71 | | duplicate: false, [INFO] [stdout] 72 | | qos: QoS::AtMostOnce, [INFO] [stdout] ... | [INFO] [stdout] 85 | | } [INFO] [stdout] 86 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/pubrec.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | / impl Default for PubRec { [INFO] [stdout] 37 | | fn default() -> Self { [INFO] [stdout] 38 | | PubRec { [INFO] [stdout] 39 | | packet_identifier: 0, [INFO] [stdout] ... | [INFO] [stdout] 44 | | } [INFO] [stdout] 45 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/pubrec.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | / fn default() -> Self { [INFO] [stdout] 38 | | PubRec { [INFO] [stdout] 39 | | packet_identifier: 0, [INFO] [stdout] 40 | | reason_code: ReasonCode::Success, [INFO] [stdout] ... | [INFO] [stdout] 43 | | } [INFO] [stdout] 44 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/pubrel.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | / impl Default for PubRel { [INFO] [stdout] 37 | | fn default() -> Self { [INFO] [stdout] 38 | | PubRel { [INFO] [stdout] 39 | | packet_identifier: 0, [INFO] [stdout] ... | [INFO] [stdout] 44 | | } [INFO] [stdout] 45 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/pubrel.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | / fn default() -> Self { [INFO] [stdout] 38 | | PubRel { [INFO] [stdout] 39 | | packet_identifier: 0, [INFO] [stdout] 40 | | reason_code: ReasonCode::Success, [INFO] [stdout] ... | [INFO] [stdout] 43 | | } [INFO] [stdout] 44 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/suback.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | / impl Default for SubAck { [INFO] [stdout] 27 | | fn default() -> Self { [INFO] [stdout] 28 | | SubAck { [INFO] [stdout] 29 | | packet_identifier: 0, [INFO] [stdout] ... | [INFO] [stdout] 33 | | } [INFO] [stdout] 34 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/suback.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | / fn default() -> Self { [INFO] [stdout] 28 | | SubAck { [INFO] [stdout] 29 | | packet_identifier: 0, [INFO] [stdout] 30 | | user_properties: Default::default(), [INFO] [stdout] 31 | | reason_codes: Default::default(), [INFO] [stdout] 32 | | } [INFO] [stdout] 33 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/subscribe.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 59 | / impl Default for SubscriptionOptions { [INFO] [stdout] 60 | | fn default() -> Self { [INFO] [stdout] 61 | | SubscriptionOptions { [INFO] [stdout] 62 | | qos: DEFAULT_MAXIMUM_QOS, [INFO] [stdout] ... | [INFO] [stdout] 67 | | } [INFO] [stdout] 68 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/subscribe.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | / fn default() -> Self { [INFO] [stdout] 61 | | SubscriptionOptions { [INFO] [stdout] 62 | | qos: DEFAULT_MAXIMUM_QOS, [INFO] [stdout] 63 | | no_local: false, [INFO] [stdout] ... | [INFO] [stdout] 66 | | } [INFO] [stdout] 67 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/subscribe.rs:114:1 [INFO] [stdout] | [INFO] [stdout] 114 | / impl Default for Subscribe { [INFO] [stdout] 115 | | fn default() -> Self { [INFO] [stdout] 116 | | Subscribe { [INFO] [stdout] 117 | | packet_identifier: 0, [INFO] [stdout] ... | [INFO] [stdout] 122 | | } [INFO] [stdout] 123 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/subscribe.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 115 | / fn default() -> Self { [INFO] [stdout] 116 | | Subscribe { [INFO] [stdout] 117 | | packet_identifier: 0, [INFO] [stdout] 118 | | subscription_identifier: None, [INFO] [stdout] ... | [INFO] [stdout] 121 | | } [INFO] [stdout] 122 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/unsuback.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | / impl Default for UnSubAck { [INFO] [stdout] 29 | | fn default() -> Self { [INFO] [stdout] 30 | | UnSubAck { [INFO] [stdout] 31 | | packet_identifier: 0, [INFO] [stdout] ... | [INFO] [stdout] 36 | | } [INFO] [stdout] 37 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/unsuback.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | / fn default() -> Self { [INFO] [stdout] 30 | | UnSubAck { [INFO] [stdout] 31 | | packet_identifier: 0, [INFO] [stdout] 32 | | reason_string: None, [INFO] [stdout] ... | [INFO] [stdout] 35 | | } [INFO] [stdout] 36 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/unsubscribe.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / impl Default for UnSubscribe { [INFO] [stdout] 20 | | fn default() -> Self { [INFO] [stdout] 21 | | UnSubscribe { [INFO] [stdout] 22 | | packet_identifier: 0, [INFO] [stdout] ... | [INFO] [stdout] 26 | | } [INFO] [stdout] 27 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/unsubscribe.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | / fn default() -> Self { [INFO] [stdout] 21 | | UnSubscribe { [INFO] [stdout] 22 | | packet_identifier: 0, [INFO] [stdout] 23 | | user_properties: Default::default(), [INFO] [stdout] 24 | | subscriptions: Default::default(), [INFO] [stdout] 25 | | } [INFO] [stdout] 26 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/will.rs:54:1 [INFO] [stdout] | [INFO] [stdout] 54 | / impl Default for Will { [INFO] [stdout] 55 | | fn default() -> Self { [INFO] [stdout] 56 | | Will { [INFO] [stdout] 57 | | qos: QoS::AtMostOnce, [INFO] [stdout] ... | [INFO] [stdout] 69 | | } [INFO] [stdout] 70 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/will.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | / fn default() -> Self { [INFO] [stdout] 56 | | Will { [INFO] [stdout] 57 | | qos: QoS::AtMostOnce, [INFO] [stdout] 58 | | retain: false, [INFO] [stdout] ... | [INFO] [stdout] 68 | | } [INFO] [stdout] 69 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/error.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | / impl Display for Error { [INFO] [stdout] 23 | | fn fmt(&self, f: &mut Formatter) -> FmtResult { [INFO] [stdout] 24 | | match self { [INFO] [stdout] 25 | | Error::Reason(rc) => write!(f, "{:?}", rc), [INFO] [stdout] ... | [INFO] [stdout] 28 | | } [INFO] [stdout] 29 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/error.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | / fn fmt(&self, f: &mut Formatter) -> FmtResult { [INFO] [stdout] 24 | | match self { [INFO] [stdout] 25 | | Error::Reason(rc) => write!(f, "{:?}", rc), [INFO] [stdout] 26 | | Error::Io(ref e) => e.fmt(f), [INFO] [stdout] 27 | | } [INFO] [stdout] 28 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/subscribe.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | / impl TryFrom for RetainHandling { [INFO] [stdout] 29 | | type Error = Error; [INFO] [stdout] 30 | | fn try_from(value: u8) -> Result { [INFO] [stdout] 31 | | match value { [INFO] [stdout] ... | [INFO] [stdout] 37 | | } [INFO] [stdout] 38 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/subscribe.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | type Error = Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/control/subscribe.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | / fn try_from(value: u8) -> Result { [INFO] [stdout] 31 | | match value { [INFO] [stdout] 32 | | 0x00 => Ok(RetainHandling::OnSubscribe), [INFO] [stdout] 33 | | 0x01 => Ok(RetainHandling::OnFirstSubscribe), [INFO] [stdout] ... | [INFO] [stdout] 36 | | } [INFO] [stdout] 37 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/quality_of_service.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | / impl TryFrom for QoS { [INFO] [stdout] 28 | | type Error = SageError; [INFO] [stdout] 29 | | fn try_from(value: u8) -> Result { [INFO] [stdout] 30 | | match value { [INFO] [stdout] ... | [INFO] [stdout] 36 | | } [INFO] [stdout] 37 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/quality_of_service.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | type Error = SageError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/quality_of_service.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | / fn try_from(value: u8) -> Result { [INFO] [stdout] 30 | | match value { [INFO] [stdout] 31 | | 0x00 => Ok(QoS::AtMostOnce), [INFO] [stdout] 32 | | 0x01 => Ok(QoS::AtLeastOnce), [INFO] [stdout] ... | [INFO] [stdout] 35 | | } [INFO] [stdout] 36 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/reason_code.rs:162:1 [INFO] [stdout] | [INFO] [stdout] 162 | / impl TryFrom for ReasonCode { [INFO] [stdout] 163 | | type Error = SageError; [INFO] [stdout] 164 | | [INFO] [stdout] 165 | | fn try_from(value: u8) -> Result { [INFO] [stdout] ... | [INFO] [stdout] 212 | | } [INFO] [stdout] 213 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/reason_code.rs:163:5 [INFO] [stdout] | [INFO] [stdout] 163 | type Error = SageError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/reason_code.rs:165:5 [INFO] [stdout] | [INFO] [stdout] 165 | / fn try_from(value: u8) -> Result { [INFO] [stdout] 166 | | match value { [INFO] [stdout] 167 | | 0x00 => Ok(ReasonCode::Success), [INFO] [stdout] 168 | | 0x01 => Ok(ReasonCode::GrantedQoS1), [INFO] [stdout] ... | [INFO] [stdout] 211 | | } [INFO] [stdout] 212 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/error.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | / impl StdError for Error { [INFO] [stdout] 32 | | fn source(&self) -> Option<&(dyn StdError + 'static)> { [INFO] [stdout] 33 | | match *self { [INFO] [stdout] 34 | | Error::Io(ref e) => Some(e), [INFO] [stdout] ... | [INFO] [stdout] 37 | | } [INFO] [stdout] 38 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing code example in this documentation [INFO] [stdout] --> src/error.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | / fn source(&self) -> Option<&(dyn StdError + 'static)> { [INFO] [stdout] 33 | | match *self { [INFO] [stdout] 34 | | Error::Io(ref e) => Some(e), [INFO] [stdout] 35 | | _ => None, [INFO] [stdout] 36 | | } [INFO] [stdout] 37 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 510 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 36.66s [INFO] running `Command { std: "docker" "inspect" "c4c814b97ea8f68da77bd1c10dd6fda6cca0c23bf723faa8041d9ec8689fd7e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c4c814b97ea8f68da77bd1c10dd6fda6cca0c23bf723faa8041d9ec8689fd7e6", kill_on_drop: false }` [INFO] [stdout] c4c814b97ea8f68da77bd1c10dd6fda6cca0c23bf723faa8041d9ec8689fd7e6