Struct gip::ProviderAny [] [src]

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

Provider for checking global address from multiple providers

Fields

providers

Providers for checking global address

Methods

impl ProviderAny

fn new() -> Self

fn from_toml(s: &str) -> Self

Load providers from TOML string

Trait Implementations

impl Provider for ProviderAny

fn get_addr(&mut self) -> GlobalAddress

fn get_name(&self) -> String

fn set_timeout(&mut self, timeout: usize)