pub struct RawHardwareAddress { /* private fields */ }
Expand description
Unparsed hardware address.
Used to make NDISC parsing agnostic of the hardware medium in use.
Implementations§
Trait Implementations§
Source§impl Clone for RawHardwareAddress
impl Clone for RawHardwareAddress
Source§fn clone(&self) -> RawHardwareAddress
fn clone(&self) -> RawHardwareAddress
Returns a copy 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 RawHardwareAddress
impl Debug for RawHardwareAddress
Source§impl Display for RawHardwareAddress
impl Display for RawHardwareAddress
Source§impl From<Address> for RawHardwareAddress
impl From<Address> for RawHardwareAddress
Source§fn from(addr: EthernetAddress) -> Self
fn from(addr: EthernetAddress) -> Self
Converts to this type from the input type.
Source§impl From<HardwareAddress> for RawHardwareAddress
impl From<HardwareAddress> for RawHardwareAddress
Source§fn from(addr: HardwareAddress) -> Self
fn from(addr: HardwareAddress) -> Self
Converts to this type from the input type.
Source§impl PartialEq for RawHardwareAddress
impl PartialEq for RawHardwareAddress
impl Copy for RawHardwareAddress
impl Eq for RawHardwareAddress
impl StructuralPartialEq for RawHardwareAddress
Auto Trait Implementations§
impl Freeze for RawHardwareAddress
impl RefUnwindSafe for RawHardwareAddress
impl Send for RawHardwareAddress
impl Sync for RawHardwareAddress
impl Unpin for RawHardwareAddress
impl UnwindSafe for RawHardwareAddress
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