#[repr(C)]pub struct DisassociateRequest {
pub device_addr_mode: AddressMode,
pub device_pan_id: PanId,
pub disassociation_reason: DisassociationReason,
pub device_address: MacAddress,
pub tx_indirect: bool,
pub security_level: SecurityLevel,
pub key_id_mode: KeyIdMode,
pub key_index: u8,
pub key_source: [u8; 8],
}Expand description
MLME DISASSOCIATE Request sed to request a disassociation
Fields§
§device_addr_mode: AddressModedevice addressing mode used
device_pan_id: PanIdthe identifier of the PAN of the device
disassociation_reason: DisassociationReasonthe reason for the disassociation
device_address: MacAddressdevice address
tx_indirect: booltrue if the disassociation notification command is to be sent indirectly
security_level: SecurityLevelthe security level to be used
key_id_mode: KeyIdModethe mode to be used to indetify the key to be used
key_index: u8the index of the key to be used
key_source: [u8; 8]the originator of the key to be used
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DisassociateRequest
impl RefUnwindSafe for DisassociateRequest
impl Send for DisassociateRequest
impl Sync for DisassociateRequest
impl Unpin for DisassociateRequest
impl UnwindSafe for DisassociateRequest
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