pub fn protected_call<L, F, R>(lua: L, f: F) -> Result<R, LuaError>where L: AsLua, F: FnOnce(StaticLua) -> R,
See AsLua::pcall.
AsLua::pcall