pub fn method0<F>(f: F) -> Valuewhere F: Fn(&Context<'_>) -> Result<Value> + 'static,
A function taking no arguments.