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, }
Defined control types
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 Debug for ControlTypefn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Eq for ControlType[src]
impl Eq for ControlTypeimpl PartialEq for ControlType[src]
impl PartialEq for ControlTypefn eq(&self, other: &ControlType) -> bool[src]
fn eq(&self, other: &ControlType) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
fn ne(&self, other: &Rhs) -> bool1.0.0
[src]This method tests for !=.
impl Copy for ControlType[src]
impl Copy for ControlTypeimpl Clone for ControlType[src]
impl Clone for ControlTypefn clone(&self) -> ControlType[src]
fn clone(&self) -> ControlTypeReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
Auto Trait Implementations
impl Send for ControlType
impl Send for ControlTypeimpl Sync for ControlType
impl Sync for ControlType