pub enum CommandPayload {
AssocReq(AssocReqPayload),
AssocResp(AssocRespPayload),
DisassocNotify(DisassocNotifyPayload),
DataReq,
PanIdConflict,
OrphanNotify,
BeaconReq,
CoordRealign(CoordRealignPayload),
GtsReq(GtsReqPayload),
Unknown(Vec<u8>),
}Expand description
Command-specific payload variants.
Variants§
AssocReq(AssocReqPayload)
Association Request: Capability Information (1 byte).
AssocResp(AssocRespPayload)
Association Response: Short Address (2 bytes) + Status (1 byte).
DisassocNotify(DisassocNotifyPayload)
Disassociation Notification: Reason (1 byte).
DataReq
Data Request: no payload.
PanIdConflict
PAN ID Conflict Notification: no payload.
OrphanNotify
Orphan Notification: no payload.
BeaconReq
Beacon Request: no payload.
CoordRealign(CoordRealignPayload)
Coordinator Realignment.
GtsReq(GtsReqPayload)
GTS Request: Characteristics (1 byte).
Unknown(Vec<u8>)
Unknown command with raw bytes.
Trait Implementations§
Source§impl Clone for CommandPayload
impl Clone for CommandPayload
Source§fn clone(&self) -> CommandPayload
fn clone(&self) -> CommandPayload
Returns a duplicate 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 CommandPayload
impl Debug for CommandPayload
Source§impl PartialEq for CommandPayload
impl PartialEq for CommandPayload
impl Eq for CommandPayload
impl StructuralPartialEq for CommandPayload
Auto Trait Implementations§
impl Freeze for CommandPayload
impl RefUnwindSafe for CommandPayload
impl Send for CommandPayload
impl Sync for CommandPayload
impl Unpin for CommandPayload
impl UnsafeUnpin for CommandPayload
impl UnwindSafe for CommandPayload
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