Trait getip::Provider[][src]

pub trait Provider: Sized {
    fn get_addr<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = Result<IpAddr>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
fn get_type(&self) -> IpType; }
Expand description

Any IP Provider

Required methods

Get the address

Implementors