#[repr(u8)]pub enum PubrelReasonCode {
Success = 0,
PacketIdentifierNotFound = 146,
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for PubrelReasonCode
impl Clone for PubrelReasonCode
Source§fn clone(&self) -> PubrelReasonCode
fn clone(&self) -> PubrelReasonCode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PubrelReasonCode
impl Debug for PubrelReasonCode
Source§impl Display for PubrelReasonCode
impl Display for PubrelReasonCode
Source§impl Format for PubrelReasonCode
Available on crate feature defmt only.
impl Format for PubrelReasonCode
Available on crate feature
defmt only.Source§impl From<PubrelReasonCode> for ReasonCode
impl From<PubrelReasonCode> for ReasonCode
Source§fn from(value: PubrelReasonCode) -> Self
fn from(value: PubrelReasonCode) -> Self
Converts to this type from the input type.
Source§impl PartialEq for PubrelReasonCode
impl PartialEq for PubrelReasonCode
Source§fn eq(&self, other: &PubrelReasonCode) -> bool
fn eq(&self, other: &PubrelReasonCode) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl<'a> Read<'a> for PubrelReasonCode
impl<'a> Read<'a> for PubrelReasonCode
Source§impl TryFrom<ReasonCode> for PubrelReasonCode
impl TryFrom<ReasonCode> for PubrelReasonCode
Source§type Error = PacketReadError
type Error = PacketReadError
The type returned in the event of a conversion error.
Source§impl TryFrom<u8> for PubrelReasonCode
impl TryFrom<u8> for PubrelReasonCode
Source§impl Write for PubrelReasonCode
impl Write for PubrelReasonCode
impl Copy for PubrelReasonCode
impl StructuralPartialEq for PubrelReasonCode
Auto Trait Implementations§
impl Freeze for PubrelReasonCode
impl RefUnwindSafe for PubrelReasonCode
impl Send for PubrelReasonCode
impl Sync for PubrelReasonCode
impl Unpin for PubrelReasonCode
impl UnsafeUnpin for PubrelReasonCode
impl UnwindSafe for PubrelReasonCode
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