Docs.rs
dns-lookup-1.0.1
dns-lookup 1.0.1
Docs.rs crate page
MIT/Apache-2.0
Links
Documentation
Repository
crates.io
Source
Owners
keeperofdakeys
Dependencies
clippy ^0
normal
socket2 ^0.3
normal
libc ^0.2
normal
winapi ^0.3
normal
Versions
Go to latest version
Platform
i686-apple-darwin
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
Rust
About docs.rs
Privacy policy
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
☰
dns_lookup
[
−
]
[src]
Function
dns_lookup
::
get_hostname
pub fn get_hostname() ->
Result
<
String
,
Error
>
Fetch the local hostname.