#[repr(C)]pub struct CommStatusIndication {
pub pan_id: PanId,
pub src_addr_mode: AddressMode,
pub dst_addr_mode: AddressMode,
pub src_address: MacAddress,
pub dst_address: MacAddress,
pub status: MacStatus,
pub security_level: SecurityLevel,
pub key_id_mode: KeyIdMode,
pub key_index: u8,
pub key_source: [u8; 8],
}
Expand description
MLME COMM STATUS Indication which is used by the MAC to indicate a communications status
Fields§
§pan_id: PanId
The 16-bit PAN identifier of the device from which the frame was received or to which the frame was being sent
src_addr_mode: AddressMode
Source addressing mode
dst_addr_mode: AddressMode
Destination addressing mode
src_address: MacAddress
Source address
dst_address: MacAddress
Destination address
status: MacStatus
The communications status
security_level: SecurityLevel
Security level to be used
key_id_mode: KeyIdMode
Mode used to identify the key to be used
key_index: u8
Index of the key to be used
key_source: [u8; 8]
Originator of the key to be used
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CommStatusIndication
impl RefUnwindSafe for CommStatusIndication
impl Send for CommStatusIndication
impl Sync for CommStatusIndication
impl Unpin for CommStatusIndication
impl UnwindSafe for CommStatusIndication
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