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§

HwIdError
Possible failure cases for get_id().

Functions§

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