pub enum ResponsePacket {
V3_1_1Puback,
V3_1_1Pubrec,
V3_1_1Pubcomp,
V5_0Puback,
V5_0Pubrec,
V5_0Pubcomp,
}
Expand description
ResponsePacket denotes the type of the response matching a stored packet.
Variants§
Trait Implementations§
Source§impl Clone for ResponsePacket
impl Clone for ResponsePacket
Source§fn clone(&self) -> ResponsePacket
fn clone(&self) -> ResponsePacket
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 ResponsePacket
impl Debug for ResponsePacket
Source§impl Hash for ResponsePacket
impl Hash for ResponsePacket
Source§impl PartialEq for ResponsePacket
impl PartialEq for ResponsePacket
impl Copy for ResponsePacket
impl Eq for ResponsePacket
impl StructuralPartialEq for ResponsePacket
Auto Trait Implementations§
impl Freeze for ResponsePacket
impl RefUnwindSafe for ResponsePacket
impl Send for ResponsePacket
impl Sync for ResponsePacket
impl Unpin for ResponsePacket
impl UnwindSafe for ResponsePacket
Blanket Implementations§
Source§impl<T> AsConcrete<T> for T
impl<T> AsConcrete<T> for T
fn as_concrete(&self) -> Option<&T>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.