Enum mqtt::control::packet_type::ControlType [−][src]
#[repr(u8)]
pub enum ControlType {
Show 14 variants
Connect,
ConnectAcknowledgement,
Publish,
PublishAcknowledgement,
PublishReceived,
PublishRelease,
PublishComplete,
Subscribe,
SubscribeAcknowledgement,
Unsubscribe,
UnsubscribeAcknowledgement,
PingRequest,
PingResponse,
Disconnect,
}Expand description
Defined control types
Variants
Client request to connect to Server
Connect acknowledgment
Publish message
Publish acknowledgment
Publish received (assured delivery part 1)
Publish release (assured delivery part 2)
Publish complete (assured delivery part 3)
Client subscribe request
Subscribe acknowledgment
Unsubscribe request
Unsubscribe acknowledgment
PING request
PING response
Client is disconnecting
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ControlType
impl Send for ControlType
impl Sync for ControlType
impl Unpin for ControlType
impl UnwindSafe for ControlType
Blanket Implementations
Mutably borrows from an owned value. Read more