pub fn runtime_of(
status: &AgentStatus,
) -> (AgentRuntimeState, Option<String>, Option<u64>, AgentDesiredState)Expand description
What a viewer sees of an agent from its status: the state, why, when a limit lifts and what is
wanted. The one place the availability, the wanted state and the controller meet (state_of,
desired_from and wanted_running_is_idle are its steps).