Crate hostname[−][src]
Get hostname. Compatible with windows and linux.
Examples
extern crate hostname; assert!(hostname::get_hostname().is_some());
Functions
get_hostname |
Get hostname. |
Get hostname. Compatible with windows and linux.
extern crate hostname; assert!(hostname::get_hostname().is_some());
get_hostname |
Get hostname. |