Struct mqtt::control::packet_type::PacketType [−][src]
pub struct PacketType(_);Expand description
Packet type
Implementations
Creates a packet type. Returns None if flags is an invalid value for the given
ControlType as defined by the MQTT spec.
Creates a packet type with default flags
http://docs.oasis-open.org/mqtt/mqtt/v3.1.1/os/mqtt-v3.1.1-os.html#Table_2.2-
From code
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for PacketType
impl Send for PacketType
impl Sync for PacketType
impl Unpin for PacketType
impl UnwindSafe for PacketType
Blanket Implementations
Mutably borrows from an owned value. Read more