Expand description

A crate with utilities to get and set the system’s host name.

Examples

Get the host name:

let name = hostname::get()?;
println!("{:?}", name);

Functions

Return the system hostname.