Struct net_backend_resources::mac_address::MacAddress
source · pub struct MacAddress(/* private fields */);
Expand description
A 48-bit Ethernet MAC address.
Implementations§
Trait Implementations§
source§impl Clone for MacAddress
impl Clone for MacAddress
source§fn clone(&self) -> MacAddress
fn clone(&self) -> MacAddress
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 MacAddress
impl Debug for MacAddress
source§impl DefaultEncoding for MacAddress
impl DefaultEncoding for MacAddress
source§type Encoding = TransparentEncoding<<[u8; 6] as DefaultEncoding>::Encoding>
type Encoding = TransparentEncoding<<[u8; 6] as DefaultEncoding>::Encoding>
The encoding to use for the serialization. Read more
source§impl Display for MacAddress
impl Display for MacAddress
source§impl From<MacAddress> for [u8; 6]
impl From<MacAddress> for [u8; 6]
source§fn from(value: MacAddress) -> Self
fn from(value: MacAddress) -> Self
Converts to this type from the input type.
source§impl FromStr for MacAddress
impl FromStr for MacAddress
source§impl Hash for MacAddress
impl Hash for MacAddress
source§impl PartialEq for MacAddress
impl PartialEq for MacAddress
source§impl Transparent for MacAddress
impl Transparent for MacAddress
impl Copy for MacAddress
impl Eq 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 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)