1use std::ffi::OsString; 2 3// make it compatible with the [hostname](https://crates.io/crates/hostname) crate 4pub fn get() -> Result<OsString, std::io::Error> { 5 return Ok(net::hostname()); 6}