Crate tor_geoip

Source
Expand description

A crate for performing GeoIP lookups using the Tor GeoIP database.

Structs§

CountryCode
A two-letter country code.
GeoipDb
A database of IP addresses to country codes.
OptionCc
Wrapper for an Option<CountryCode> that encodes None as ??.

Enums§

Error
An error type from the tor-geoip crate.

Traits§

HasCountryCode
A (representation of a) host on the network which may have a known country code.