#[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: AddressMode
device addressing mode used
device_pan_id: PanId
the identifier of the PAN of the device
disassociation_reason: DisassociationReason
the reason for the disassociation
device_address: MacAddress
device address
tx_indirect: bool
true
if the disassociation notification command is to be sent indirectly
security_level: SecurityLevel
the security level to be used
key_id_mode: KeyIdMode
the mode to be used to indetify the key to be used
key_index: u8
the 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