Enum ieee802154::mac::command::DisassociationReason
source · [−]pub enum DisassociationReason {
CoordinatorLeave,
DeviceLeave,
}
Expand description
Disassociation Reason
Variants
CoordinatorLeave
Coordinator requested device to leave
DeviceLeave
Device requested to leave
Trait Implementations
sourceimpl Clone for DisassociationReason
impl Clone for DisassociationReason
sourcefn clone(&self) -> DisassociationReason
fn clone(&self) -> DisassociationReason
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for DisassociationReason
impl Debug for DisassociationReason
sourceimpl From<DisassociationReason> for u8
impl From<DisassociationReason> for u8
sourcefn from(v: DisassociationReason) -> Self
fn from(v: DisassociationReason) -> Self
Converts to this type from the input type.
sourceimpl From<u8> for DisassociationReason
impl From<u8> for DisassociationReason
sourceimpl Hash for DisassociationReason
impl Hash for DisassociationReason
sourceimpl PartialEq<DisassociationReason> for DisassociationReason
impl PartialEq<DisassociationReason> for DisassociationReason
sourcefn eq(&self, other: &DisassociationReason) -> bool
fn eq(&self, other: &DisassociationReason) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourceimpl PartialEq<DisassociationReason> for u8
impl PartialEq<DisassociationReason> for u8
sourcefn eq(&self, other: &DisassociationReason) -> bool
fn eq(&self, other: &DisassociationReason) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &DisassociationReason) -> bool
fn ne(&self, other: &DisassociationReason) -> bool
This method tests for !=
. The default implementation is almost always
sufficient, and should not be overridden without very good reason. Read more
impl Copy for DisassociationReason
impl Eq for DisassociationReason
impl StructuralEq for DisassociationReason
impl StructuralPartialEq for DisassociationReason
Auto Trait Implementations
impl RefUnwindSafe for DisassociationReason
impl Send for DisassociationReason
impl Sync for DisassociationReason
impl Unpin for DisassociationReason
impl UnwindSafe for DisassociationReason
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more