pub enum SubackReturnCode {
SuccessQoS0,
SuccessQoS1,
SuccessQoS2,
Failure,
}Expand description
SUBACK return codes
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for SubackReturnCode
impl Clone for SubackReturnCode
Source§fn clone(&self) -> SubackReturnCode
fn clone(&self) -> SubackReturnCode
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 SubackReturnCode
impl Debug for SubackReturnCode
Source§impl From<SubackReturnCode> for u8
impl From<SubackReturnCode> for u8
Source§fn from(code: SubackReturnCode) -> u8
fn from(code: SubackReturnCode) -> u8
Converts to this type from the input type.
Source§impl PartialEq for SubackReturnCode
impl PartialEq for SubackReturnCode
impl Copy for SubackReturnCode
impl Eq for SubackReturnCode
impl StructuralPartialEq for SubackReturnCode
Auto Trait Implementations§
impl Freeze for SubackReturnCode
impl RefUnwindSafe for SubackReturnCode
impl Send for SubackReturnCode
impl Sync for SubackReturnCode
impl Unpin for SubackReturnCode
impl UnsafeUnpin for SubackReturnCode
impl UnwindSafe for SubackReturnCode
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
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.