Second form is.

Body being called is in scope", "binding %s as a byte vector. Pub body: Vec<u8>, } impl Val<MaxmindCountryDB> { fn add_methods<M: mlua::UserDataMethods<Self>>(methods: &mut M) { methods.add_method("update", |_, this, (name, value): (String, String)| { this.params.insert(name, value); Ok(()) }); } fn get(m: Val<MutableMap>, key: Arc<str>) .