#[repr(u8)]pub enum SubscribeAckReason {
GrantedQoSZero = 0,
GrantedQoSOne = 1,
GrantedQoSTwo = 2,
UnspecifiedError = 128,
ImplementationSpecificError = 131,
NotAuthorized = 135,
TopicFilterInvalid = 143,
PacketIdentifierInUse = 145,
QuotaExceeded = 151,
SharedSubscriptionsNotSupported = 158,
SubscriptionIdentifiersNotSupported = 161,
WildcardSubscriptionsNotSupported = 162,
}
Variants§
GrantedQoSZero = 0
GrantedQoSOne = 1
GrantedQoSTwo = 2
UnspecifiedError = 128
ImplementationSpecificError = 131
NotAuthorized = 135
TopicFilterInvalid = 143
PacketIdentifierInUse = 145
QuotaExceeded = 151
SubscriptionIdentifiersNotSupported = 161
WildcardSubscriptionsNotSupported = 162
Trait Implementations§
Source§impl Clone for SubscribeAckReason
impl Clone for SubscribeAckReason
Source§fn clone(&self) -> SubscribeAckReason
fn clone(&self) -> SubscribeAckReason
Returns a copy 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 SubscribeAckReason
impl Debug for SubscribeAckReason
Source§impl PartialEq for SubscribeAckReason
impl PartialEq for SubscribeAckReason
Source§impl TryFrom<u8> for SubscribeAckReason
impl TryFrom<u8> for SubscribeAckReason
Source§type Error = TryFromPrimitiveError<SubscribeAckReason>
type Error = TryFromPrimitiveError<SubscribeAckReason>
The type returned in the event of a conversion error.
impl Copy for SubscribeAckReason
impl StructuralPartialEq for SubscribeAckReason
Auto Trait Implementations§
impl Freeze for SubscribeAckReason
impl RefUnwindSafe for SubscribeAckReason
impl Send for SubscribeAckReason
impl Sync for SubscribeAckReason
impl Unpin for SubscribeAckReason
impl UnwindSafe for SubscribeAckReason
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