Skip to navigation
Get the hostname with rust
10.10.25
To get the Hostname with rust try gethostname - rusthost ``` use gethostname::gethostname; println!("Hostname: {:?}", gethostname()); ```
https://docs.rs/gethostname/latest/gethostname/
Reply
Anonymous
Information Epoch 1760439554
There is no perfect productivity system.
Home
Notebook
Contact us