pub enum HWIDComponent {
SystemID,
CPUCores,
OSName,
Username,
MachineName,
MacAddress,
CPUID,
FileToken(&'static str),
DriveSerial,
}Expand description
The components that can be used to build the HWID.
Variants§
SystemID
System UUID
CPUCores
Number of CPU Cores
OSName
Name of the OS
Username
Current Username
MachineName
Host machine name
MacAddress
Mac Address
CPUID
CPU Vendor ID
FileToken(&'static str)
The contents of a file
DriveSerial
UUID of the root disk
Implementations§
Trait Implementations§
Source§impl Debug for HWIDComponent
impl Debug for HWIDComponent
Source§impl Hash for HWIDComponent
impl Hash for HWIDComponent
Source§impl PartialEq for HWIDComponent
impl PartialEq for HWIDComponent
impl Eq for HWIDComponent
impl StructuralPartialEq for HWIDComponent
Auto Trait Implementations§
impl Freeze for HWIDComponent
impl RefUnwindSafe for HWIDComponent
impl Send for HWIDComponent
impl Sync for HWIDComponent
impl Unpin for HWIDComponent
impl UnwindSafe for HWIDComponent
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