pub struct ExtendedAddress(pub u64);Expand description
A 64-bit extended address
A unique address that is used to identify an device in the PAN.
§Example
use ieee802154::mac::ExtendedAddress;
let ext_address = ExtendedAddress(0x0123456789abcdef);Tuple Fields§
§0: u64Implementations§
Source§impl ExtendedAddress
impl ExtendedAddress
Sourcepub const BROADCAST: ExtendedAddress
pub const BROADCAST: ExtendedAddress
An instance of ExtendedAddress that represents the broadcast address.
Sourcepub fn broadcast() -> ExtendedAddress
pub fn broadcast() -> ExtendedAddress
Creates an instance of ExtendedAddress that represents the broadcast address
Trait Implementations§
Source§impl Clone for ExtendedAddress
impl Clone for ExtendedAddress
Source§fn clone(&self) -> ExtendedAddress
fn clone(&self) -> ExtendedAddress
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 ExtendedAddress
Source§impl Debug for ExtendedAddress
impl Debug for ExtendedAddress
impl Eq for ExtendedAddress
Source§impl Hash for ExtendedAddress
impl Hash for ExtendedAddress
Source§impl Hash for ExtendedAddress
impl Hash for ExtendedAddress
Source§impl PartialEq for ExtendedAddress
impl PartialEq for ExtendedAddress
impl StructuralPartialEq for ExtendedAddress
Source§impl TryRead<'_> for ExtendedAddress
impl TryRead<'_> for ExtendedAddress
Auto Trait Implementations§
impl Freeze for ExtendedAddress
impl RefUnwindSafe for ExtendedAddress
impl Send for ExtendedAddress
impl Sync for ExtendedAddress
impl Unpin for ExtendedAddress
impl UnsafeUnpin for ExtendedAddress
impl UnwindSafe for ExtendedAddress
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