whoami::fallible

Function devicename

source
pub fn devicename() -> Result<String>
Expand description

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

Often used to identify device for bluetooth pairing.