#[repr(u8)]pub enum UnsubAckReasonCode {
Success = 0,
NoSubscriptionExisted = 17,
UnspecifiedError = 128,
ImplementationSpecificError = 131,
NotAuthorized = 135,
TopicFilterInvalid = 143,
PacketIdentifierInUse = 145,
}Expand description
UNSUBACK reason codes
Variants§
Success = 0
Success
NoSubscriptionExisted = 17
No subscription existed
UnspecifiedError = 128
Unspecified error
ImplementationSpecificError = 131
Implementation specific error
NotAuthorized = 135
Not authorized
TopicFilterInvalid = 143
Topic filter invalid
PacketIdentifierInUse = 145
Packet identifier in use
Implementations§
Trait Implementations§
Source§impl Clone for UnsubAckReasonCode
impl Clone for UnsubAckReasonCode
Source§fn clone(&self) -> UnsubAckReasonCode
fn clone(&self) -> UnsubAckReasonCode
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 UnsubAckReasonCode
impl Debug for UnsubAckReasonCode
Source§impl PartialEq for UnsubAckReasonCode
impl PartialEq for UnsubAckReasonCode
impl Copy for UnsubAckReasonCode
impl Eq for UnsubAckReasonCode
impl StructuralPartialEq for UnsubAckReasonCode
Auto Trait Implementations§
impl Freeze for UnsubAckReasonCode
impl RefUnwindSafe for UnsubAckReasonCode
impl Send for UnsubAckReasonCode
impl Sync for UnsubAckReasonCode
impl Unpin for UnsubAckReasonCode
impl UnwindSafe for UnsubAckReasonCode
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