Skip to main content

hostname

Function hostname 

Source
pub fn hostname() -> Option<String>
Available on crate feature config only.
Expand description

Method to try get the hostname from the OS