Struct ieee802154::mac::beacon::PendingAddress
source · [−]pub struct PendingAddress { /* private fields */ }
Expand description
Pending Address(es)
Addresses to devices that has pending messages with the coordinator
+--------+-----------------+--------------------+
| Header | Short Addresses | Extended Addresses |
+--------+-----------------+--------------------+
1 0 - 14 0 - 448 octets
Header
+-------------+----------+----------------+----------+
| Short Count | Reserved | Extended Count | Reserved |
+-------------+----------+----------------+----------+
0 - 2 3 4 - 6 7 bit
Implementations
sourceimpl PendingAddress
impl PendingAddress
sourcepub fn short_addresses(&self) -> &[ShortAddress]
pub fn short_addresses(&self) -> &[ShortAddress]
Get the short addresses
sourcepub fn extended_addresses(&self) -> &[ExtendedAddress]
pub fn extended_addresses(&self) -> &[ExtendedAddress]
Get the extended address
Trait Implementations
sourceimpl Clone for PendingAddress
impl Clone for PendingAddress
sourcefn clone(&self) -> PendingAddress
fn clone(&self) -> PendingAddress
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 PendingAddress
impl Debug for PendingAddress
sourceimpl Hash for PendingAddress
impl Hash for PendingAddress
sourceimpl PartialEq<PendingAddress> for PendingAddress
impl PartialEq<PendingAddress> for PendingAddress
sourcefn eq(&self, other: &PendingAddress) -> bool
fn eq(&self, other: &PendingAddress) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourceimpl TryRead<'_, ()> for PendingAddress
impl TryRead<'_, ()> for PendingAddress
sourceimpl TryWrite<()> for PendingAddress
impl TryWrite<()> for PendingAddress
impl Copy for PendingAddress
impl Eq for PendingAddress
impl StructuralEq for PendingAddress
impl StructuralPartialEq for PendingAddress
Auto Trait Implementations
impl RefUnwindSafe for PendingAddress
impl Send for PendingAddress
impl Sync for PendingAddress
impl Unpin for PendingAddress
impl UnwindSafe for PendingAddress
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