pub fn run(
db: &Db,
user: &User,
relative: &str,
function: &str,
input: &Value,
) -> Result<HookResult, Error>Expand description
Run function in the script relative, with the server’s host bindings
acting as user.
Call this OUTSIDE Db::mutate — it may block on the network or a child
process, and the host’s plm object takes the store lock itself.