pub struct NormalizedDatabase { /* private fields */ }
Implementations§
Source§impl NormalizedDatabase
impl NormalizedDatabase
pub fn lookup( &self, ip: IpAddr, ) -> Result<NormalizedCityRecord<'_>, MaxMindDBError>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for NormalizedDatabase
impl RefUnwindSafe for NormalizedDatabase
impl Send for NormalizedDatabase
impl Sync for NormalizedDatabase
impl Unpin for NormalizedDatabase
impl UnwindSafe for NormalizedDatabase
Blanket Implementations§
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