[−][src]Struct jnet::ieee802154::ExtendedAddr
Extended (64-bit) address
Methods
impl ExtendedAddr
[src]
pub fn ne_bytes(&self) -> [u8; 8]
[src]
Serializes the address into an array of bytes using network endianness
pub fn eui_64(&self) -> [u8; 8]
[src]
Converts the address into an Extended Unique Identifier (EUI-64)
pub fn into_link_local_address(self) -> Addr
[src]
Converts this extended address into a link-local IPv6 address using the EUI-64 format (see RFC2464)
Trait Implementations
impl From<ExtendedAddr> for Addr
[src]
fn from(ea: ExtendedAddr) -> Addr
[src]
impl PartialEq<ExtendedAddr> for ExtendedAddr
[src]
fn eq(&self, other: &ExtendedAddr) -> bool
[src]
fn ne(&self, other: &ExtendedAddr) -> bool
[src]
impl Eq for ExtendedAddr
[src]
impl Debug for ExtendedAddr
[src]
impl Display for ExtendedAddr
[src]
impl Copy for ExtendedAddr
[src]
impl Clone for ExtendedAddr
[src]
fn clone(&self) -> ExtendedAddr
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Auto Trait Implementations
Blanket Implementations
impl<T> From<T> for 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> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
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> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Same<T> for T
[src]
type Output = T
Should always be Self