Function asyncio::ip::host_name
[−]
[src]
pub fn host_name() -> Result<String>
Get the current host name.
Examples
use asyncio::ip::host_name; println!("{}", host_name().unwrap());