mqtt_format/v3/mod.rs
1//
2// This Source Code Form is subject to the terms of the Mozilla Public
3// License, v. 2.0. If a copy of the MPL was not distributed with this
4// file, You can obtain one at http://mozilla.org/MPL/2.0/.
5//
6
7use nom::IResult;
8
9pub mod connect_return;
10pub mod errors;
11pub mod header;
12pub mod identifier;
13pub mod packet;
14pub mod qos;
15pub mod strings;
16pub mod subscription_acks;
17pub mod subscription_request;
18pub mod unsubscription_request;
19pub mod will;
20
21/// The result of a streaming operation
22pub type MSResult<'a, T> = IResult<&'a [u8], T>;