#[non_exhaustive]pub enum Anchor {
InstallId,
PlatformUuid,
BoardSerial,
ProductSerial,
CpuSignature,
PermanentMac,
}Available on crate feature
device-id only.Expand description
An identifier a device id or a fingerprint can rest on.
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.
InstallId
The OS installation id.
PlatformUuid
The firmware’s UUID.
BoardSerial
The main board’s serial number.
ProductSerial
The product’s serial number.
CpuSignature
The CPU’s vendor, family, model, stepping, and brand. Not unique: identical CPUs share it.
PermanentMac
The lowest permanent MAC address of a built-in interface.
Trait Implementations§
impl Copy for Anchor
impl Eq for Anchor
impl StructuralPartialEq for Anchor
Auto Trait Implementations§
impl Forget for Anchor
impl Freeze for Anchor
impl RefUnwindSafe for Anchor
impl Send for Anchor
impl Sync for Anchor
impl Unpin for Anchor
impl UnsafeUnpin for Anchor
impl UnwindSafe for Anchor
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