#[repr(u8)]pub enum UnSubAckReasonCode {
Success = 0,
NoSubscriptionExisted = 17,
UnspecifiedError = 128,
ImplementationSpecificError = 131,
NotAuthorized = 135,
TopicFilterInvalid = 143,
PacketIdentifierInUse = 145,
}
Expand description
Variants§
Success = 0
The subscription is deleted.
NoSubscriptionExisted = 17
No matching Topic Filter is being used by the Client.
UnspecifiedError = 128
The unsubscribe could not be completed and the Server either does not wish to reveal the reason or none of the other Reason Codes apply.
ImplementationSpecificError = 131
The UNSUBSCRIBE is valid but the Server does not accept it.
NotAuthorized = 135
The Client is not authorized to unsubscribe.
TopicFilterInvalid = 143
The Topic Filter is correctly formed but is not allowed for this Client.
PacketIdentifierInUse = 145
The specified Packet Identifier is already in use.
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 Format for UnSubAckReasonCode
impl Format for UnSubAckReasonCode
Source§impl PartialEq for UnSubAckReasonCode
impl PartialEq for UnSubAckReasonCode
Source§impl TryFrom<u8> for UnSubAckReasonCode
impl TryFrom<u8> 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