pub struct HardwareAddress { /* private fields */ }Expand description
HardwareAddress is an six octet identifier
HardwareAddress could be used for MAC address for Ethernet (802.3), Bluetooth or Wi-Fi (802.11) BSSID
Implementations§
Trait Implementations§
Source§impl Clone for HardwareAddress
impl Clone for HardwareAddress
Source§fn clone(&self) -> HardwareAddress
fn clone(&self) -> HardwareAddress
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for HardwareAddress
impl Debug for HardwareAddress
Source§impl Display for HardwareAddress
impl Display for HardwareAddress
Source§impl<'a> From<&'a [u8]> for HardwareAddress
impl<'a> From<&'a [u8]> for HardwareAddress
Source§fn from(value: &'a [u8]) -> HardwareAddress
fn from(value: &'a [u8]) -> HardwareAddress
Converts to this type from the input type.
Source§impl Hash for HardwareAddress
impl Hash for HardwareAddress
Source§impl NativePack for HardwareAddress
impl NativePack for HardwareAddress
Source§impl NativeUnpack for HardwareAddress
impl NativeUnpack for HardwareAddress
Source§impl PartialEq for HardwareAddress
impl PartialEq for HardwareAddress
impl Copy for HardwareAddress
impl Eq for HardwareAddress
impl StructuralPartialEq for HardwareAddress
Auto Trait Implementations§
impl Freeze for HardwareAddress
impl RefUnwindSafe for HardwareAddress
impl Send for HardwareAddress
impl Sync for HardwareAddress
impl Unpin for HardwareAddress
impl UnwindSafe for HardwareAddress
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