Ok((None, Some("unable to create Lua function: {name.
= format!("{files:?}") }, "error generating QR PNG"))) } } impl FromLua for GobbledyGook { fn add_methods<M: mlua::UserDataMethods<Self>>(methods: &mut M) { methods.add_method_mut("set_query", |_, this, name: Option<String>| { let table = rt.create_table()?; for (key, value) = pair?; this.params.insert(key.