pub fn host_name(_: &IoContext) -> Result<String>
Get the current host name.
use asyncio::IoContext; use asyncio::ip::host_name; let ctx = &IoContext::new().unwrap(); println!("{}", host_name(ctx).unwrap());