Function host_name

Source
pub fn host_name() -> Result<String, Error>
Expand description

Attempts to get the system hostname as a utf8 String

ยงErrors

Hostname is not utf8