Struct ieee802154::mac::command::CapabilityInformation
source · [−]pub struct CapabilityInformation {
pub full_function_device: bool,
pub mains_power: bool,
pub idle_receive: bool,
pub frame_protection: bool,
pub allocate_address: bool,
}
Expand description
Association request capability information
Sent with association request to report the capabilities of the device.
Fields
full_function_device: bool
Full-function device (FFD) or a reduced-function device (RFD) RFD and FFD have different function sets.
mains_power: bool
Device is connected to a mains power source or not
idle_receive: bool
Receive is enabled while idle
frame_protection: bool
Frames are cryptographically protected
allocate_address: bool
Device wish to have an short address allocated by the coordinator
Trait Implementations
sourceimpl Clone for CapabilityInformation
impl Clone for CapabilityInformation
sourcefn clone(&self) -> CapabilityInformation
fn clone(&self) -> CapabilityInformation
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 CapabilityInformation
impl Debug for CapabilityInformation
sourceimpl From<CapabilityInformation> for u8
impl From<CapabilityInformation> for u8
sourcefn from(ar: CapabilityInformation) -> Self
fn from(ar: CapabilityInformation) -> Self
Converts to this type from the input type.
sourceimpl From<u8> for CapabilityInformation
impl From<u8> for CapabilityInformation
sourceimpl Hash for CapabilityInformation
impl Hash for CapabilityInformation
sourceimpl PartialEq<CapabilityInformation> for CapabilityInformation
impl PartialEq<CapabilityInformation> for CapabilityInformation
sourcefn eq(&self, other: &CapabilityInformation) -> bool
fn eq(&self, other: &CapabilityInformation) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
impl Copy for CapabilityInformation
impl Eq for CapabilityInformation
impl StructuralEq for CapabilityInformation
impl StructuralPartialEq for CapabilityInformation
Auto Trait Implementations
impl RefUnwindSafe for CapabilityInformation
impl Send for CapabilityInformation
impl Sync for CapabilityInformation
impl Unpin for CapabilityInformation
impl UnwindSafe for CapabilityInformation
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