pub async fn run_daemon(config: DaemonConfig) -> Result<(), Box<dyn Error>>Expand description
Run the daemon. This function blocks until shutdown is triggered.
§Errors
Returns an error if the health port cannot be bound, hyperd fails to start,
or the discovery file cannot be written.