[−][src]Struct ieee802154::mac::frame::header::ExtendedAddress
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);
Implementations
impl ExtendedAddress
[src]
pub const BROADCAST: Self
[src]
An instance of ExtendedAddress
that represents the broadcast address.
pub fn broadcast() -> Self
[src]
Creates an instance of ExtendedAddress
that represents the broadcast address
pub fn decode(buf: &mut dyn Buf) -> Result<Self, DecodeError>
[src]
Decodes an address from a byte buffer
pub fn encode(&self, buf: &mut dyn BufMut)
[src]
Encodes the address into a buffer
Trait Implementations
impl Clone for ExtendedAddress
[src]
fn clone(&self) -> ExtendedAddress
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for ExtendedAddress
[src]
impl Debug for ExtendedAddress
[src]
impl Eq for ExtendedAddress
[src]
impl Hash for ExtendedAddress
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Hash for ExtendedAddress
[src]
fn hash<H: Hasher>(&self, _h: &mut H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
[src]
H: Hasher,
impl PartialEq<ExtendedAddress> for ExtendedAddress
[src]
fn eq(&self, other: &ExtendedAddress) -> bool
[src]
fn ne(&self, other: &ExtendedAddress) -> bool
[src]
impl StructuralEq for ExtendedAddress
[src]
impl StructuralPartialEq for ExtendedAddress
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,