pub fn valid_op_id(candidate: &str) -> bool
Whether candidate is an acceptable op id: non-empty, within MAX_OP_ID_LEN, and limited to a safe key charset (A-Za-z0-9-_.:).
candidate
MAX_OP_ID_LEN
A-Za-z0-9-_.: