pub fn process_daemon_command(
command: &str,
payload: &[u8],
enabled: bool,
result_prefix: &str,
poll_interval: &mut Duration,
) -> DaemonCommandOutcomeExpand description
Validate and apply a shared daemon control command.
The returned result and polling-interval update still need to be published
by the application. result_prefix preserves an application’s naming
convention for rejected/unsupported commands.