[−][src]Crate hostname
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
| get | Return the system hostname. |
A crate with utilities to get and set the system's host name.
Get the host name:
let name = hostname::get()?; println!("{:?}", name);
| get | Return the system hostname. |