pub fn store<F, A, R, E>(fun: F) -> c_intwhere F: Fn(A) -> Result<R, E> + 'static, A: Poppable, R: Pushable, E: Error + 'static,
Stores a function in the Lua registry, returning its ref.