pub struct MacAddress(/* private fields */);Expand description
A MAC (Ethernet hardware) address.
Stored as six octets in transmission order. No OS dependency — this is
pure data, used by net-lattice-model’s interface module and by
backends that read hardware addresses from the OS.
Implementations§
Trait Implementations§
Source§impl Clone for MacAddress
impl Clone for MacAddress
Source§fn clone(&self) -> MacAddress
fn clone(&self) -> MacAddress
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 MacAddress
Source§impl Debug for MacAddress
impl Debug for MacAddress
Source§impl Display for MacAddress
impl Display for MacAddress
impl Eq for MacAddress
Source§impl Hash for MacAddress
impl Hash for MacAddress
Source§impl PartialEq for MacAddress
impl PartialEq for MacAddress
impl StructuralPartialEq for MacAddress
Auto Trait Implementations§
impl Freeze for MacAddress
impl RefUnwindSafe for MacAddress
impl Send for MacAddress
impl Sync for MacAddress
impl Unpin for MacAddress
impl UnsafeUnpin for MacAddress
impl UnwindSafe for MacAddress
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