Struct sn0int_std::geoip::AsnDB
source · pub struct AsnDB { /* private fields */ }
Implementations§
Trait Implementations§
source§impl Maxmind for AsnDB
impl Maxmind for AsnDB
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 AsnDB
impl Send for AsnDB
impl Sync for AsnDB
impl Unpin for AsnDB
impl UnwindSafe for AsnDB
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