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
Connect
Client request to connect to Server
ConnectAcknowledgement
Connect acknowledgment
Publish
Publish message
PublishAcknowledgement
Publish acknowledgment
PublishReceived
Publish received (assured delivery part 1)
PublishRelease
Publish release (assured delivery part 2)
PublishComplete
Publish complete (assured delivery part 3)
Subscribe
Client subscribe request
SubscribeAcknowledgement
Subscribe acknowledgment
Unsubscribe
Unsubscribe request
UnsubscribeAcknowledgement
Unsubscribe acknowledgment
PingRequest
PING request
PingResponse
PING response
Disconnect
Client is disconnecting
Trait Implementations
impl Debug for ControlType
[src]
impl Debug for ControlType
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Eq for ControlType
[src]
impl Eq for ControlType
impl PartialEq for ControlType
[src]
impl PartialEq for ControlType
fn eq(&self, other: &ControlType) -> bool
[src]
fn eq(&self, other: &ControlType) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Copy for ControlType
[src]
impl Copy for ControlType
impl Clone for ControlType
[src]
impl Clone for ControlType
fn clone(&self) -> ControlType
[src]
fn clone(&self) -> ControlType
Returns 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 ControlType
impl Sync for ControlType
impl Sync for ControlType