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: boolFull-function device (FFD) or a reduced-function device (RFD) RFD and FFD have different function sets.
mains_power: boolDevice is connected to a mains power source or not
idle_receive: boolReceive is enabled while idle
frame_protection: boolFrames are cryptographically protected
allocate_address: boolDevice wish to have an short address allocated by the coordinator
Trait Implementations§
Source§impl Clone for CapabilityInformation
impl Clone for CapabilityInformation
Source§fn clone(&self) -> CapabilityInformation
fn clone(&self) -> CapabilityInformation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CapabilityInformation
Source§impl Debug for CapabilityInformation
impl Debug for CapabilityInformation
impl Eq for CapabilityInformation
Source§impl From<u8> for CapabilityInformation
impl From<u8> for CapabilityInformation
Source§fn from(byte: u8) -> CapabilityInformation
fn from(byte: u8) -> CapabilityInformation
Converts to this type from the input type.
Source§impl Hash for CapabilityInformation
impl Hash for CapabilityInformation
Source§impl PartialEq for CapabilityInformation
impl PartialEq for CapabilityInformation
impl StructuralPartialEq for CapabilityInformation
Auto Trait Implementations§
impl Freeze for CapabilityInformation
impl RefUnwindSafe for CapabilityInformation
impl Send for CapabilityInformation
impl Sync for CapabilityInformation
impl Unpin for CapabilityInformation
impl UnsafeUnpin for CapabilityInformation
impl UnwindSafe for CapabilityInformation
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more