[][src]Struct ieee802154::mac::command::CapabilityInformation

pub struct CapabilityInformation {
    pub full_function_device: bool,
    pub mains_power: bool,
    pub idle_receive: bool,
    pub frame_protection: bool,
    pub allocate_address: bool,
}

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

impl Clone for CapabilityInformation[src]

impl Copy for CapabilityInformation[src]

impl Debug for CapabilityInformation[src]

impl Eq for CapabilityInformation[src]

impl From<CapabilityInformation> for u8[src]

impl From<u8> for CapabilityInformation[src]

impl Hash for CapabilityInformation[src]

impl PartialEq<CapabilityInformation> for CapabilityInformation[src]

impl StructuralEq for CapabilityInformation[src]

impl StructuralPartialEq for CapabilityInformation[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.