Skip to main content

generate_hostid

Function generate_hostid 

Source
pub fn generate_hostid() -> Result<String>
Expand description

Generate a fresh HostID (random UUID, formatted as a hex string).

Only present when built against a libnvme that exposes nvmf_hostid_generate (added after libnvme 1.8).