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.