/// User-script metrics collector.

Db.0.is_within(addr, asn) } fn response_getter_library() -> impl Registerable { library! { #[clone] type Matcher = Val<Matcher>; #[clone] type HashMap = Val<MutableMap>; #[clone] type LabeledIntCounterVec = Val<LabeledIntCounterVec>; #[clone] type MaxmindASNDB = Val<MaxmindASNDB>; #[clone] type Logger = Val<Logger>; impl Val<Logger> { fn from_lua(value: Value, _: &Lua) -> mlua::Result<Self> { match value { Value::UserData(ud.