[−][src]Trait gip::Provider
Provider describes types that can provide global address information
Required methods
pub fn get_addr(&mut self) -> Result<GlobalAddress, Error>
[src]
Get global IP address
pub fn get_name(&self) -> String
[src]
Get provider name
pub fn get_type(&self) -> ProviderInfoType
[src]
Get provider type
pub fn set_timeout(&mut self, timeout: usize)
[src]
Set timeout by milliseconds
pub fn set_proxy(&mut self, host: &str, port: u16)
[src]
Set proxy