Struct gip::ProviderAny[][src]

pub struct ProviderAny {
    pub providers: Vec<Box<Provider>>,
    pub ptype: ProviderInfoType,
}

A Provider implementation to try multiple providers

Fields

Providers for checking global address

Provider type

Methods

impl ProviderAny
[src]

Load providers from TOML string

Trait Implementations

impl Provider for ProviderAny
[src]

Get global IP address

Get provider name

Get provider type

Set timeout by milliseconds

Set proxy

Auto Trait Implementations

impl !Send for ProviderAny

impl !Sync for ProviderAny