#[repr(u8)]pub enum DisassociationReason {
CoordRequested = 1,
DeviceRequested = 2,
}
Variants§
CoordRequested = 1
The coordinator wishes the device to leave the PAN.
DeviceRequested = 2
The device wishes to leave the PAN.
Trait Implementations§
Source§impl Clone for DisassociationReason
impl Clone for DisassociationReason
Source§fn clone(&self) -> DisassociationReason
fn clone(&self) -> DisassociationReason
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 DisassociationReason
impl Debug for DisassociationReason
Source§impl From<DisassociationReason> for u8
impl From<DisassociationReason> for u8
Source§fn from(value: DisassociationReason) -> u8
fn from(value: DisassociationReason) -> u8
Converts to this type from the input type.
Source§impl TryFrom<u8> for DisassociationReason
impl TryFrom<u8> for DisassociationReason
impl Copy for DisassociationReason
Auto Trait Implementations§
impl Freeze for DisassociationReason
impl RefUnwindSafe for DisassociationReason
impl Send for DisassociationReason
impl Sync for DisassociationReason
impl Unpin for DisassociationReason
impl UnwindSafe for DisassociationReason
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