Enum machineid_rs::HWIDComponent[][src]

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)

Tuple Fields

0: &'static str

The contents of a file

DriveSerial

UUID of the root disk

Trait Implementations

Feeds this value into the given Hasher. Read more

Feeds a slice of this type into the given Hasher. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The alignment of pointer.

The type for initializers.

Initializes a with the given initializer. Read more

Dereferences the given pointer. Read more

Mutably dereferences the given pointer. Read more

Drops the object pointed to by the given pointer. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.