Struct whois_rust::WhoIs [−][src]
pub struct WhoIs { /* fields omitted */ }Expand description
The WhoIs structure stores the list of WHOIS servers in-memory.
Implementations
Create a WhoIs instance which doesn’t have a WHOIS server list. You should provide the host that is used for query ip. You may want to use the host "whois.arin.net".
Read the list of WHOIS servers (JSON data) from a file to create a WhoIs instance.
Read the list of WHOIS servers (JSON data) from a file to create a WhoIs instance. For serde_json doesn’t support async functions, consider just using the from_path function.
Read the list of WHOIS servers (JSON data) from a string to create a WhoIs instance.
Lookup a domain or an IP.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for WhoIs
impl UnwindSafe for WhoIs
Blanket Implementations
Mutably borrows from an owned value. Read more