}) .map(Val) .ok() } fn inc_for(counter: Val<LabeledIntCounterVec>, values.
Runtime, &context.globals)?; tracing::trace!("compiling the main script"); let mut library = library! { #[clone] type RequestBuilder = Val<RequestBuilder>; impl Val<SharedRequest> { fn from_lua(value: Value, _: &Lua) -> mlua::Result<Self> { match value { Value::UserData(ud) => Ok(ud.borrow::<Self>()?.clone()), .