pub fn validate_command_name(command: &str) -> Result<()>Expand description
Reject a command name that would break the same :-delimited idempotency
key grammar ({dep}:{rid}:{command}:{key}).
The trailing client key routinely contains ‘:’, so a ‘:’ in the command
name would be indistinguishable from the key boundary: (command=“a:b”,
key=“c”) and (command=“a”, key=“b:c”) would forge the same key. Rejecting
‘:’ in the command name keeps the command segment unambiguous — the twin of
validate_command_target_id for the command segment.