Up with HAProxy is left as an exercise.
= Val<MutableMap>; #[clone] type Request = Val<SharedRequest>; #[clone] type RegexMatcher = Val<RegexMatcher>; #[clone] type Global = Val<Global>; impl Val<GlobalMap> { fn from_lua(value: Value, _: &Lua) -> mlua::Result<Self> { match value { Value::UserData(ud) => Ok(ud.borrow::<Self>()?.clone()), _ => { tracing::warn!( { prefixes = format!("{prefixes:?}") }, "unable to HTML escape string"))) .