pub enum CPublishFlightState {
AwaitingPuback,
AwaitingPubrec,
AwaitingPubcomp,
}Expand description
The state of an incomplete QoS 1 or 2 publication by the client.
Variants§
AwaitingPuback
A QoS 1 PUBLISH packet has been sent.
The next step in the handshake is the server sending a PUBACK packet.
AwaitingPubrec
A QoS 2 PUBLISH packet has been sent.
The next step in the handshake is the server sending a PUBREC packet.
AwaitingPubcomp
A PUBREC packet has been received and responded to with a PUBREL packet. The last step in the handshake is the server sending a PUBCOMP packet.
Trait Implementations§
Source§impl Clone for CPublishFlightState
impl Clone for CPublishFlightState
Source§fn clone(&self) -> CPublishFlightState
fn clone(&self) -> CPublishFlightState
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CPublishFlightState
impl Debug for CPublishFlightState
Source§impl PartialEq for CPublishFlightState
impl PartialEq for CPublishFlightState
impl Copy for CPublishFlightState
impl Eq for CPublishFlightState
impl StructuralPartialEq for CPublishFlightState
Auto Trait Implementations§
impl Freeze for CPublishFlightState
impl RefUnwindSafe for CPublishFlightState
impl Send for CPublishFlightState
impl Sync for CPublishFlightState
impl Unpin for CPublishFlightState
impl UnsafeUnpin for CPublishFlightState
impl UnwindSafe for CPublishFlightState
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more