Enum mqtt::control::packet_type::ControlType
[−]
[src]
#[repr(u8)]pub enum ControlType { Connect, ConnectAcknowledgement, Publish, PublishAcknowledgement, PublishReceived, PublishRelease, PublishComplete, Subscribe, SubscribeAcknowledgement, Unsubscribe, UnsubscribeAcknowledgement, PingRequest, PingResponse, Disconnect, }
Variants
ConnectClient request to connect to Server
ConnectAcknowledgementConnect acknowledgment
PublishPublish message
PublishAcknowledgementPublish acknowledgment
PublishReceivedPublish received (assured delivery part 1)
PublishReleasePublish release (assured delivery part 2)
PublishCompletePublish complete (assured delivery part 3)
SubscribeClient subscribe request
SubscribeAcknowledgementSubscribe acknowledgment
UnsubscribeUnsubscribe request
UnsubscribeAcknowledgementUnsubscribe acknowledgment
PingRequestPING request
PingResponsePING response
DisconnectClient is disconnecting
Trait Implementations
impl Debug for ControlType[src]
impl Eq for ControlType[src]
impl PartialEq for ControlType[src]
fn eq(&self, __arg_0: &ControlType) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0
This method tests for !=.
impl Copy for ControlType[src]
impl Clone for ControlType[src]
fn clone(&self) -> ControlType
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more