["pick-args"] = pick_args_2a, ["with-open"] = with_open_2a, accumulate = accumulate_2a, collect = collect_2a, doto .

None)), ) }); methods.add_method("headers", |rt, this, ()| Ok(this.0.as_base64())); } } } impl From<Val<MutableMap>> for MapValue { fn add_methods<M: mlua::UserDataMethods<Self>>(methods: &mut M) { methods.add_method("query", |_, this, val: Value| { if let MapValue::$variant(v) = v return nil else env[key] = value .0 .read() .inspect_err(|e| { tracing::error!("error running output(): {e}"); }) .map(Val) .ok() } fn.