#[repr(u8)]pub enum PublishReceivedReason {
Success = 0,
NoMatchingSubscribers = 16,
UnspecifiedError = 128,
ImplementationSpecificError = 131,
NotAuthorized = 135,
TopicNameInvalid = 144,
PacketIdentifierInUse = 145,
QuotaExceeded = 151,
PayloadFormatInvalid = 153,
}
Variants§
Success = 0
NoMatchingSubscribers = 16
UnspecifiedError = 128
ImplementationSpecificError = 131
NotAuthorized = 135
TopicNameInvalid = 144
PacketIdentifierInUse = 145
QuotaExceeded = 151
PayloadFormatInvalid = 153
Trait Implementations§
Source§impl Clone for PublishReceivedReason
impl Clone for PublishReceivedReason
Source§fn clone(&self) -> PublishReceivedReason
fn clone(&self) -> PublishReceivedReason
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 PublishReceivedReason
impl Debug for PublishReceivedReason
Source§impl PartialEq for PublishReceivedReason
impl PartialEq for PublishReceivedReason
Source§impl TryFrom<u8> for PublishReceivedReason
impl TryFrom<u8> for PublishReceivedReason
Source§type Error = TryFromPrimitiveError<PublishReceivedReason>
type Error = TryFromPrimitiveError<PublishReceivedReason>
The type returned in the event of a conversion error.
impl Copy for PublishReceivedReason
impl StructuralPartialEq for PublishReceivedReason
Auto Trait Implementations§
impl Freeze for PublishReceivedReason
impl RefUnwindSafe for PublishReceivedReason
impl Send for PublishReceivedReason
impl Sync for PublishReceivedReason
impl Unpin for PublishReceivedReason
impl UnwindSafe for PublishReceivedReason
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