pub fn runtime(
out: &mut dyn Write,
args: &RuntimeServeArgs,
) -> Result<ServeReport, CliError>Expand description
Hosts a manifest node’s operators: in this process.
Unlike the other two verbs here, this one is spawned by a daemon, not
by astrs up: it is a node-shaped process that connects with
astrs_node_api::Node::init_from_env and is told what to host by the
handshake blob (§4.2). It has no listener, so no pidfile and no
announcement.
§Errors
CliError::BadArgumentif--node-iddisagrees with the id the daemon actually assigned — a misconfiguration worth refusing rather than silently hosting the wrong node’s operators.CliError::Nodeif this process cannot connect to its daemon.CliError::Runtimeif the operator host cannot be built or fails.