Crate hardware_id

source ·
Expand description

Get a “Hardware ID” for the host machine. This is a UUID which is intended to uniquely represent this entity.

Enums

Possible failure cases for get_id().

Functions

Get the hardware ID of this machine. The HWID is obtained from /var/lib/dbus/machine-id, or failing that from /etc/machine-id.