#[non_exhaustive]pub enum MacKind {
Permanent,
Random,
Unknown,
}Expand description
Whether a MAC address is the hardware’s own (E-54).
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Permanent
The hardware’s burned-in address.
Random
Randomized (Wi-Fi privacy addresses, Android, Windows, NetworkManager).
Unknown
Not known (Linux: an address stolen from another device or set by hand).
Trait Implementations§
impl Copy for MacKind
impl Eq for MacKind
impl StructuralPartialEq for MacKind
Auto Trait Implementations§
impl Freeze for MacKind
impl RefUnwindSafe for MacKind
impl Send for MacKind
impl Sync for MacKind
impl Unpin for MacKind
impl UnsafeUnpin for MacKind
impl UnwindSafe for MacKind
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