Struct sn0int_std::geoip::GeoIP
source · pub struct GeoIP { /* private fields */ }
Implementations§
Trait Implementations§
source§impl Maxmind for GeoIP
impl Maxmind for GeoIP
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>
Auto Trait Implementations§
impl RefUnwindSafe for GeoIP
impl Send for GeoIP
impl Sync for GeoIP
impl Unpin for GeoIP
impl UnwindSafe for GeoIP
Blanket Implementations§
§impl<'a, T> AsTaggedExplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedExplicit<'a> for Twhere T: 'a,
§impl<'a, T> AsTaggedImplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedImplicit<'a> for Twhere T: 'a,
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more