whoami::fallible

Function devicename_os

Source
pub fn devicename_os() -> Result<OsString>
Expand description

Get the device name (also known as “Pretty Name”).

Often used to identify device for bluetooth pairing.