pub struct MacAddr(pub [u8; 6]);
Expand description
Mac address.
A 6 bytes mac address, e.g. “00:0a:0b:0c:0d:0e” or “0:a:b:c:d:e”.
Tuple Fields§
§0: [u8; 6]
Trait Implementations§
Source§impl From<MacAddress> for MacAddr
impl From<MacAddress> for MacAddr
Source§fn from(value: MacAddress) -> Self
fn from(value: MacAddress) -> Self
Converts to this type from the input type.
impl Copy for MacAddr
impl Eq for MacAddr
impl StructuralPartialEq for MacAddr
Auto Trait Implementations§
impl Freeze for MacAddr
impl RefUnwindSafe for MacAddr
impl Send for MacAddr
impl Sync for MacAddr
impl Unpin for MacAddr
impl UnwindSafe for MacAddr
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