Function sys_info::hostname[][src]

pub fn hostname() -> Result<String, Error>

Get hostname.