Struct r_efi::base::MacAddress
source · [−]Expand description
Network MAC Address
This type encapsulates a single networking media access control address (MAC). It is a simple 32 bytes buffer with no special alignment. Note that no comparison function are defined by default, since trailing bytes of the address might be random.
The interpretation of the content differs depending on the protocol it is used with. See each documentation for details. In most cases this contains an Ethernet address.
Fields
addr: [u8; 32]Trait Implementations
sourceimpl Clone for MacAddress
impl Clone for MacAddress
sourcefn clone(&self) -> MacAddress
fn clone(&self) -> MacAddress
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for MacAddress
impl Debug for MacAddress
impl Copy for MacAddress
Auto Trait Implementations
impl RefUnwindSafe for MacAddress
impl Send for MacAddress
impl Sync for MacAddress
impl Unpin for MacAddress
impl UnwindSafe for MacAddress
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more