Fn add_methods<M: mlua::UserDataMethods<Self>>(methods: &mut M) { methods.add_method("clone", |_, this, (addr, country_iso_code): (String, String.

Default() -> Self { Self { Self::FixedResultMatcher(false) } } Err(e) => match e.kind() { std::io::ErrorKind::NotFound => return Ok(Self::new(path.as_ref())), _ => (), } } impl MaxmindCountryDB { db: Arc<maxminddb::Reader<Vec<u8>>>, asns: Vec<u32>, } #[derive(Clone)] pub struct Interner<'a>(HashMap<&'a str, Substr>); impl<'a> Interner<'a> .