pub struct MACAddress { /* private fields */ }Implementations§
Source§impl MACAddress
impl MACAddress
pub fn new() -> Self
Sourcepub fn random_local() -> Self
pub fn random_local() -> Self
Generate a random locally-administered MAC address.
Trait Implementations§
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