pub async fn call_driver_cmd(
atlas: &mut AtlasClient,
provider_id: &str,
driver_contract: &str,
cmd: u32,
config_json: String,
who: &str,
) -> Result<String>Expand description
Issue one Driver(cmd) RPC against a freshly-connected channel, then
release the channel. Returns the response’s state string on success;
bails when ok=false or the RPC itself fails. Mirrors rbnx-cli’s boot
behaviour for both CMD_INIT and CMD_ACTIVATE so Soma drives the same
lifecycle transitions.
who shows up in every error message so callers can attribute
failures to a specific package without re-wrapping each return.