with_hostname

Function with_hostname 

Source
pub fn with_hostname(visitor: &mut dyn FnMut(&[u8])) -> Result<(), Error>
Expand description

Wraps gethostname to fetch the current hostname into a temporary buffer.