dns_lookup

Function get_hostname

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

Fetch the local hostname.