Trait sn0int_std::geoip::Maxmind [−][src]
pub trait Maxmind: Sized {
fn filename() -> &'static str;
fn new(reader: Reader<Vec<u8>>) -> Self;
fn cache_path(cache_dir: &Path) -> Result<PathBuf, Error> { ... }
fn from_buf(buf: Vec<u8>) -> Result<Self, Error> { ... }
fn open(path: &Path) -> Result<Self, Error> { ... }
fn try_open_reader(cache_dir: &Path) -> Result<Option<MaxmindReader>, Error> { ... }
}