Struct geoip::GeoIp [] [src]

pub struct GeoIp {
    // some fields omitted
}

Methods

impl GeoIp
[src]

fn open(path: &Path, options: Options) -> Result<GeoIpString>

fn city_info_by_ip(&self, ip: IpAddr) -> Option<CityInfo>

fn as_info_by_ip(&self, ip: IpAddr) -> Option<ASInfo>

Trait Implementations

impl Drop for GeoIp
[src]

fn drop(&mut self)

A method called when the value goes out of scope. Read more